UNIX User Accounts

In the last section of this chapter, you will see how to create a new user and assign that user to one or more groups. Users can create directories and files of their own. In Chapter 14, “File Permissions and System Security,” you will see how users can set access permissions on their directories and files so that some other users can access those directories and files, while other users cannot.

Check out the following example:

-rw-rw----   1 mori     dbhelp       948 Jul 17  1996 mp4.1.2
-rw-rw----   1 lazar    integ        948 Jul 29  1996 mp4.1.3
-rw-rw----   1 stull    dbhelp       951 Mar 24  1998 mp4.1.3a

In this example, the following is true:

  • File mp4.1.2 belongs to user mori and to group dbhelp.

  • File mp4.1.3 belongs to user lazar and to group integ.

  • File ...

Get Practical UNIX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.