Sunday, 3 February 2013

Grant Other Users Permission To Run The 'sudo' Command - Ubuntu

Under Ubutnu, we use the "sudo" command to allow some users or a group of users to run a command with root (administrator) privileges. To grant a user the possibility to run "sudo" commands under Ubuntu, then follow these instructions:

Open the terminal and run this command:

sudo adduser username sudo

Replace username with the user you want to allow to run "sudo" commands. If the operation is successful, you will get this as outputs:

~$ sudo adduser upubuntu sudo
Adding user `upubuntu' to group `sudo' ...
Adding user upubuntu to group sudo
Done.

No comments:

Post a Comment