O'Reilly logo

LPIC-1/CompTIA Linux+ Certification All-in-One Exam Guide (Exams LPIC-1/LX0-101 & LX0-102) by Robb Tracy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding Linux Users and Groups

To control access to a Linux system and the data it contains, we need to do two things:

• We need to require users to supply a set of credentials before they will be granted access to the system.

• We need access controls that specify what individual users can do with files and directories in the file system after they have logged in.

We’re going to address the first condition in this chapter. To control overall access to the system itself, we need to implement users and groups. (The second condition will be addressed in a later chapter.) In this part of this chapter, we’re going to discuss how to do this. Specifically, we’re going to cover the following:

• Linux user accounts

• Linux groups

Let’s begin by ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required