Add user to sudoers in linux

This is somewhat most asked questions. So, you have to be logged in as root yourself and want to add user simon to sudoer:

$ adduser simon sudo

Or if you are sudoer and want to add another user:

$ sudo adduser simon sudo

Remember, this simon has to log out and log in to see the difference. If you are using linux as desktop. Do the same. Restarting shell does not help.

  • Facebook
  • Twitter
  • Google
  • Google Plus
  • LinkedIn
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Comments are closed.