Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ adduser(8) — GENIX 4.1A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

passwd(1)

finger(1)

chsh(1)

chfn(1)

passwd(5)

vipw(8)



      ADDUSER(8)              GENIX Programmer's Manual              ADDUSER(8)



      NAME
           adduser - procedure for adding new users

      DESCRIPTION
           A new user must choose a login name, which must not  already  appear
           in  /etc/passwd.  An account can be added by editing a line into the
           passwd file; this must be done with the password file locked e.g. by
           using vipw(8).

           A new user is given a group and user id.  User id's should  be  dis-
           tinct  across  a  system,  since  they are used to control access to
           files.  Typically, users working on similar projects will be put  in
           the  same group.  System staff is group "10" for historical reasons,
           and the super-user is in this group.

           A skeletal account for a new user "ernie" would look like:

                ernie::235:20:&
                Kovacs,508E,7925,6428202:/mnt/grad/ernie:/bin/csh

           The first field is the login name "ernie".  The next  field  is  the
           encrypted  password which is not given and must be initialized using
           passwd(1).  The next two fields are the user and  group  id's.   The
           next  field  gives  information  about ernie's real name, office and
           office phone and home  phone.   This  information  is  used  by  the
           finger(1)  program.   From this information we can tell that ernie's
           real name is "Ernie Kovacs" (the & here  serves  to  repeat  "ernie"
           with appropriate capitalization), that his office is 508 Evans Hall,
           his extension is x2-7925, and this his home  phone  number  is  642-
           8202.   You  can  modify the finger(1) program if necessary to allow
           different information to be encoded in this field.

           The final two fields give a login directory and a login shell  name.
           The  login  shell  will default to "/bin/sh" if none is given.  Most
           users choose "/bin/csh" so this is usually specified here.

           It is useful to give new users some help in getting started, supply-
           ing  them  with  a  few  skeletal files such as .profile if they use
           "/bin/sh", or .cshrc and .login if they use "/bin/csh".  The  direc-
           tory  "/usr/skel"  contains skeletal definitions of such files.  New
           users should be given copies of these  files  which,  for  instance,
           arrange to use tset(1) automatically at each login.

      FILES
           /etc/passwd         password file
           /usr/skel           skeletal login directory

      SEE ALSO
           passwd(1), finger(1), chsh(1), chfn(1), passwd(5), vipw(8)

      BUGS
           User information should be stored in its own data base separate from



      Printed 11/16/83                                                        1





      ADDUSER(8)              GENIX Programmer's Manual              ADDUSER(8)



           the password file.






















































      Printed 11/16/83                                                        2



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