Quick tip: Add a user to the sudoers group

shell prompt image

Situation: A new user on your server needs to have admin, or ‘root’ user access. Rather than enabling the root account, or giving out the password details to your elevated account, add the new user to the sudoers group, and hey presto – they will get sudo access with their own account and password:

usermod -aG sudo <username_of_person_you_want_to_give_root_to>

Related Post

RELATED:   Metasploit eyeing Linux and usability improvements; iOS support uncertain - TechRepublic

Leave a Reply