Using sudo in LinuxHow can users have root (administrative) privileges in Linux, Unix without knowing the root password? One of the best answers to this question is sudo. Users login using their username and password and issue administrative commands placing sudo in front of the commands, e.g. sudo rpm -Uvh *.rpm , to run the command which installs and updates programs in Linux (rpm). For more details see this introduction to sudo from its authors. To create the file which assign administrative privileges to users -- the sudoers file, please read the sudoers documentation page. This mini-tutorial focus on the easiest way a user can use the administrative privileges assigned to him/her by the sudoers file, whithout knowing the root passord. Open a shell window
Since you already have root privileges, it will not ask you for the root password |
|
|
Top Back |
|