Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ passwd(5) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chfn(1)

login(1)

passwd(1)

finger(1)

yppasswd(1)

crypt(3)

getpwent(3)

group(5)

adduser(8)

vipw(8)

yppasswdd(8)



PASSWD(5)               COMMAND REFERENCE               PASSWD(5)



NAME
     passwd - password file

SYNOPSIS
     /etc/passwd

DESCRIPTION
     The passwd file contains, for each user, the following
     information:

     name                     user's login name, contains no
                              uppercase characters and must not
                              be greater than eight characters
                              long

     password                 encrypted password

     numerical user ID        user's ID in the system; must be
                              unique

     numerical group ID       number of the group to which the
                              user belongs

     user's real name         field may also contain the user's
                              office, extension, home phone, etc.
                              (also called the GCOS field)

     initial working directory
                              directory the user is positioned in
                              when she or he logs in (known as
                              home directory)

     shell                    program to use as shell when the
                              user logs in

     The user's real name field may contain an ampersand (&),
     meaning ... insert the login name.  This information is set
     by the chfn(1) command and used by the finger(1) command.

     The password file is an ASCII file.  Each field within each
     user's entry is separated from the next by a colon.  Each
     user is separated from the next by a new-line.  If the
     password field is null, no password is demanded; if the
     shell field is null, then /bin/sh is used.

     The passwd file can also have a line beginning with a plus
     (+), which means to incorporate entries from the Yellow
     Pages.  There are three styles of + entries:

     +         insert the entire contents of the Yellow Pages
               password file here




Printed 5/12/88                                                 1





PASSWD(5)               COMMAND REFERENCE               PASSWD(5)



     +name     insert the entry (if any) for name from the Yellow
               Pages here

     +@ name   insert the entries for all members of the network
               group name here

     If a + entry has a non-null password, directory GCOS, or
     shell field, they will override what is contained in the
     Yellow Pages.  The numerical user ID and group ID field
     cannot be overridden.

EXAMPLE
     Here is a sample /etc/passwd file:



          root:q.mJzTnu8icF.:0:10:God:/:/bin/csh
          tut:6k/7KCFRPNVXg:508:10:Bill Tuthill:/usr2/tut:/bin/csh
          +john:
          +@documentation:no-login:
          +:::Guest


     In this example, there are specified entries for users root
     and tut, in case the Yellow Pages are out of order.  The
     user will have his password entry in the Yellow Pages
     incorporated without change; anyone in the netgroup
     documentation will have their password field disabled, and
     anyone else will be able to log in with their usual
     password, shell, and home directory, but with a GCOS field
     of Guest.

     The password file resides in directory /etc.  Because of the
     encrypted passwords, it has general read permission and can
     be used, for example, to map numerical user IDs to names.

     Appropriate precautions must be taken to lock the
     /etc/passwd file against changes if it is to be edited with
     a text editor; vipw(8) does the necessary locking.

FILES
     /etc/passwd

SEE ALSO
     chfn(1), login(1), passwd(1), finger(1), yppasswd(1),
     crypt(3), getpwent(3), group(5), adduser(8), vipw(8), and
     yppasswdd(8).








Printed 5/12/88                                                 2





































































%%index%%
na:288,74;
sy:362,217;
de:579,2103;3042,1791;
fi:4833,92;
se:4925,381;
%%index%%000000000104

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026