| 1. |
What is the purpose of the sudo command in the context of the UNIX operating system? |
|
Answer» sudo is a short form of Super Users DO. In Linux, the sudo command is commonly used as a prefix to a command that only superusers are PERMITTED to RUN. If you use the prefix "sudo" before any command, it will run it with elevated privileges, allowing a user with the necessary permissions to run a command as another user, such as the superuser. This is the Windows version of the "run as administrator" option. The sudoers file, stored at "/etc/sudoers," must contain an entry for each user who MAY use the sudo command. Remember to use the sudo command to EDIT or inspect the sudoers file. The "visudo" command is suggested for editing the sudoers file. |
|