How to add user to sudoers list
cnttbachkhoa , 2011/10/28 11:40 , Linux , Comments (0) , Reads (3857) , Via Original
Large | Medium | Small
Large | Medium | Small
We will show you how adding a new sudoer is quickly done.
Open a Root Terminal and type visudo (to access and edit the list)
Using the up/down arrows, navigate to the bottom of the sudoers file that is now displayed in the terminal
Just under the line that looks like the following:
root ALL=(ALL) ALL
Add the following (replacing user with your actual username):
user ALL=(ALL) ALL
Now press Ctrl+X and press Y when promted to save
That's it, your new user now has root privileges!
Related Topics
VIM Editor Commands
What does the star after a file name mean?
How to list all groups that your Linux user belongs to
How to Mount a Remote Folder using SSH on Ubuntu
Linux user management commands
How to change message of the day on Ubuntu
How to auto shutdown your computer in Linux
How to install Subversion with Web access on Ubuntu
How to Tell What Version of Ubuntu You Are Running
VIM Editor Commands
What does the star after a file name mean?
How to list all groups that your Linux user belongs to
How to Mount a Remote Folder using SSH on Ubuntu
Linux user management commands
How to change message of the day on Ubuntu
How to auto shutdown your computer in Linux
How to install Subversion with Web access on Ubuntu
How to Tell What Version of Ubuntu You Are Running
VIM Editor Commands
