UIDs and GIDs

Team-Fly    

Solaris™ Operating Environment Boot Camp
By David Rhodes, Dominic Butler
Table of Contents
Chapter 3.  User Administration


User names and group names are ideal for us to work with, but are less useful to the systemit prefers to deal in numbers. For this reason, when users are created they are allocated an identity number, known as a UID (User Identifier). The system uses this to manage users, only displaying their names for our convenience. Similarly, each group is allocated a GID (Group Identifier), which is used in the same manner by the system.

Each user should have a unique UID. However, it's possible to share one and there are valid reasons for doing so, as we explained for UID 0 in Chapter 1.

All the information used to identify a user is stored within a series of files: the password file, the shadow file, and the group file. Let's look at these now before we start to add any users.


    Team-Fly    
    Top
     



    Solaris Operating Environment Boot Camp
    Solaris Operating Environment Boot Camp
    ISBN: 0130342874
    EAN: 2147483647
    Year: 2002
    Pages: 301

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