Chapter 2

Managing Users and Groups


check Understanding the password file

check Managing your groups

check Working in the user environment

check Changing user and group ownerships of files and directories

check Managing a user account with a GUI user manager and commands

Linux is a multiuser system, so it has many user accounts. Even if you’ve set up a test machine and you’re the only user using that system, you’ll have a host of system user accounts. Most of these accounts aren’t for people to use; they’re for running specific programs, because many servers require a unique username and group name. The FTP server, for example, runs under the username ftp.

User accounts can belong to one or more groups. Typically, each username has a corresponding private group name. By default, each user belongs to that corresponding private group, but you can define other groups for the purpose of providing access to specific files and directories based on group membership.

User and group ownerships of files ...

Get Linux All-In-One For Dummies, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.