- The user’s login name, not more than eight characters.
- The user’s password, in an encrypted form that is generated by the UNIX passwd function. However, if the encypted password is stored in /etc/shadow, (see shadow(5)), the password field of /etc/passwd is empty.
- A unique interger assigned by the UNIX administrator to represent the user’s account; its value is usually between 0 and 32767.
- An interger representing the group to which the user has been assigned. Groups are created by the UNIX system administrator; each is assigned a unique integer whose value is generally between 0 and 32767.
- The user’s real name. The name may be of any length; it may include capital letters as well as lower case, and may include blanks. The name may be empty.
- The default shell launched at login. This field may be empty.
root:bDPu/ys5PBoYU:0:1:Operator:/:/bin/csh dave:Qs5I6pBb2rJDA:1234:12:David:/u/dave:/bin/csh dan:MNRWDsW/srMfE:2345:23:Dan:: jim:HNRyuuiuMFerx:::::
root::0:1:Operator:/:/bin/csh dave::1234:12:David:/u/dave:/bin/csh dan::2345:23:Dan:: jim::::::
- Here is a sample passwd file when the /etc/shadow does not exist:
- If the system keeps the passwords in the /etc/shadow, the file
- SEE ALSO
Copyright © 1994-2008 NetApp, Inc. Legal Information