How to add a user to the sudoers list (Ubuntu Linux)

Adding a user to the sudoers list:
  1. Open a Root Terminal. (Open a terminal then run ¨su¨ command.)
  2. Run ¨visudo¨ command. (This is the only way to add a user to the sudoers list.)
  3. Using the up/down arrows, go to the line that looks like the following:
  4. root ALL=(ALL) ALL
  5. Then, add the following line:
  6. name_of_user ALL=(ALL) ALL
  7. Press Ctrl+X and press Y when promted to save.
 

About

Search

PISIKA Copyright © 2009