The root user has complete control of the operation of your Fedora system. That user can open any file or run any program. The root user also installs software packages and adds accounts for other people who use the system.
When you first install Fedora, you should add a password for the root user. You need to remember and protect this password. You will need it to log in as root or to obtain root permission while you are logged in as some other user.
The home directory for the root user is /root. The home directory and other information associated with the root user account is located in the /etc/passwd file. Here is what the root entry looks like in the /etc/passwd file:
This shows that for the user named root, the user ID is set to 0 (root user), the group ID is set to 0 (root group), the home directory is /root, and the shell for that user is /bin/bash. You can change the home directory or the shell used by editing the values in this file.
See the section on setting up users in Chapter 11 for more information about the /etc/passwd file.
Among the defaults that are set for the root user are aliases for certain commands that could have dangerous consequences. Aliases for the rm, cp, and mv commands allow those commands to be run with the -i option. This prevents massive numbers of files from being removed, copied, or moved by mistake. The -i option causes each deletion, copy, or move to prompt you before the actual change is made.