Bookmark this page

Summary

In this chapter, you learned:

  • There are three main types of user account: the superuser, system users, and regular users.

  • A user must have a primary group and may be a member of one or more supplementary groups.

  • The three critical files containing user and group information are /etc/passwd, /etc/group, and /etc/shadow.

  • The su and sudo commands can be used to run commands as the superuser.

  • The useradd, usermod, and userdel commands can be used to manage users.

  • The groupadd, groupmod, and groupdel commands can be used to manage groups.

  • The chage command can be used to configure and view password expiration settings for users.

Revision: rh124-8.2-df5a585