Setting up Sudo (Subusers) for SSH Access

Setting up Sudo (Subusers) for SSH Access

When setting up a new server and a client asks for SSH access, this is the process to add a subuser for SSH so that we don't have to give up the root password and risk getting it changed.

1. Edit /etc/sudoers (i.e. nano /etc/sudoers)
2. Insert something similar to the following:

username ALL=(ALL) ALL

under where it says:

root ALL=(ALL) ALL

3. Save the file.

4. Test the newly created user access ACL (sudo su - from the user account level).