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.
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