NET 4000 Chapter Notes - Chapter 12.1.4: Superuser, Sudo
Document Summary
The root user account is the linux system superuser and can perform any task. Some linux commands cannot be run by anyone but the root user. The root account is created during the installation process, and it receives the account number 0 (zero); in contrast, normal (standard) user accounts receive ascending numbers beginning at 500 or 1000 depending on the distribution. To protect the root user account, use the following guidelines: When performing tasks that require the root user account, use the su - command to switch to the root user and execute the command; then use the exit command to revert back to the regular user account. As a general rule, create a user account that gives sufficient permissions to perform most daily tasks. Use this account instead of the root user account when logging in to the system. The following commands are used to manage root-level access to the system: