8.3. Running Commands as a Privileged User

Some commands or scripts in this manual are intended to be run as a privileged user who can become root via sudo. Compared to running an entire command or script directly as root (see Running Commands as root), this approach has the security advantage of being granular -- only those portions of the command or script that require root privileges will have root privileges.

To run a command in this context, simply type the command listed in the manual. Depending on your system's sudo configuration, you may be prompted for the user's sudo password.

See Also