What Is the Command to Add a User to the sudoers?

Problem scenario
You want to give a Linux user the ability to elevate his/her permissions to run commands that would ordinarily require administrator privileges.  What command do you use?

Solution
Run this command but first replace "jdoe" with the user you want to add to the sudoers:  sudo adduser jdoe sudo

Leave a comment

Your email address will not be published. Required fields are marked *