Chapter 7: Users and Groups


Control of users and groups is a core element of Red Hat Linux system administration. Users can be either people, meaning accounts tied to physical users, or logical users, meaning accounts that exist for specific applications to use. Both types of users have a unique User ID (UID) and Group ID (GID).

Groups are logical expressions of organization. Groups tie users together, giving them permissions to read, write, or execute files. When a file is created, it is assigned a user and group. It is also assigned separate read, write, and execute permissions for the file’s owner, group, and everyone else. The user and group of a particular file, as well as the access permissions on the file, can be changed by root or, in most cases, by the creator of the file. Proper management of users and groups and effective management of file permissions are among the most important tasks a system administrator undertakes in the course of his or her duties.

Tools for User and Group Creation

Managing users and groups can be a tedious task, but Red Hat Linux provides a few tools and conventions to make management easier for administrators. You can use tools like useradd or groupadd to create new users and groups from the shell prompt.

The “Modifying User Properties” section of this chapter explains file permission concepts and walks you through the command-line steps for managing users. You can also use the graphical User Manager tool, described in the “User and Group Creation” section of this chapter.




Official Red Hat Linux Administrator's Guide
Official Red Hat Linux Administrators Guide
ISBN: 0764516957
EAN: 2147483647
Year: 2002
Pages: 278
Authors: Red Hat Inc

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net