![]() ![]() Doing so is sometimes called dropping root privileges and is often done as a security measure to limit the damage from possible contamination of the process. Only a process running as root is allowed to change its user ID to that of another user once it has done so, there is no way back. It spawns all other processes directly or indirectly, which inherit their parents' privileges. The first process bootstrapped in a Unix-like system, usually called init, runs with root privileges. This directory was originally considered to be root's home directory, but the UNIX Filesystem Hierarchy Standard now recommends that root's home be at /root. The name root may have originated because root is the only user account with permission to modify the root directory of a Unix system. The root user can do many things an ordinary user cannot, such as changing the ownership of files and binding to network ports numbered below 1024. Regardless of the name, the superuser always has a user ID of 0. BSD often provides a toor ("root" written backward) account in addition to a root account. ![]() Alternative names include baron in BeOS and avatar on some Unix variants. In Unix-like computer OSes (such as Linux), root is the conventional name of the user who has all rights or permissions (to all files and programs) in all modes (single- or multi-user). The principle of least privilege recommends that most users and applications run under an ordinary account to perform their work, as a superuser account is capable of making unrestricted, potentially adverse, system-wide changes. In some cases, the actual name of the account is not the determining factor on Unix-like systems, for example, the user with a user identifier (UID) of zero is the superuser, regardless of the name of that account and in systems which implement a role based security model, any user with the role of superuser (or its synonyms) can carry out all actions of the superuser account. Depending on the operating system (OS), the actual name of this account might be root, administrator, admin or supervisor. In computing, the superuser is a special user account used for system administration. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |