.\" Copyright (c) 1980, 1991 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)adduser.8 6.8 (Berkeley) %G%
.Nd procedure for adding new users
A new user must choose a login name, which must not already appear in
It must also not begin with the hyphen
It is strongly recommended that it be all lower-case, and not contain
character, as that tends to confuse mailers.
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
A new user is given a group and user id.
Login and user id's should be unique across the system, and often across
a group of systems, since they are used to control file access.
Typically, users working on similar projects will be put in the same groups.
At the University of California, Berkeley, we have groups for system staff,
faculty, graduate students, and special groups for large projects.
A skeletal account for a new user
ernie::25:30::0:0:Ernie Kovacs,508 Evans Hall,x7925,
642-8202:/a/users/ernie:/bin/csh
For a description of each of these fields, see
It is useful to give new users some help in getting started, supplying
them with a few skeletal files such as
contains skeletal definitions of such files.
New users should be given copies of these files which, for instance,
automatically at each login.
.Bl -tag -width /etc/master.passwdxx -compact
.It Pa /etc/master.passwd
User information should (and eventually will) be stored elsewhere.