Skip to main content

New Computer | Secure a new computer SSH

Secure new computer by creating a new user for the server/computer, then removing rights from root

This assumes that this is a new machine and that you are currently signed in as the root user.
sudo adduser username   enter any user name you want

Check password file. Make sure the user is valid

tail /etc/passwd

Make user a Super User

usermod -aG sudo username
Check to make sure that your new user is apart of ground "sudo" (super user). 
groups userName-Here