Thank you for this awesome article, I've enjoyed it. But you forgot to add a little thing: in order to make edits to the system as root with the new account, you should add it in the sudoers group.
The command is:
sudo adduser <username> sudo
Which of course should be done from the root user BEFORE denying its access in ssh.
Thank you for this awesome article, I've enjoyed it. But you forgot to add a little thing: in order to make edits to the system as root with the new account, you should add it in the sudoers group.
The command is:
sudo adduser <username> sudo
Which of course should be done from the root user BEFORE denying its access in ssh.