Deleted Added
full compact
adding_user.7 (64618) adding_user.7 (70466)
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)adduser.8 8.1 (Berkeley) 6/5/93
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)adduser.8 8.1 (Berkeley) 6/5/93
33.\" $FreeBSD: head/share/man/man8/adding_user.8 64618 2000-08-13 18:38:58Z gshapiro $
33.\" $FreeBSD: head/share/man/man8/adding_user.8 70466 2000-12-29 09:18:45Z ru $
34.\"
35.Dd June 5, 1993
36.Dt ADDING_USER 8
37.Os BSD 4
38.Sh NAME
39.Nm adding_user
40.Nd procedure for adding new users
41.Sh DESCRIPTION
42A new user must choose a login name, which must not already appear in
43.Pa /etc/passwd
44or
45.Pa /etc/mail/aliases .
46It must also not begin with the hyphen
47.Ql Fl
48character.
49It is strongly recommended that it be all lower-case, and not contain
50the dot
34.\"
35.Dd June 5, 1993
36.Dt ADDING_USER 8
37.Os BSD 4
38.Sh NAME
39.Nm adding_user
40.Nd procedure for adding new users
41.Sh DESCRIPTION
42A new user must choose a login name, which must not already appear in
43.Pa /etc/passwd
44or
45.Pa /etc/mail/aliases .
46It must also not begin with the hyphen
47.Ql Fl
48character.
49It is strongly recommended that it be all lower-case, and not contain
50the dot
51.Ql \&.
51.Ql .\&
52character, as that tends to confuse mailers.
53An account can be added by editing a line into the passwd file; this
54must be done with the password file locked e.g. by using
55.Xr chpass 1
56or
57.Xr vipw 8 .
58.Pp
59A new user is given a group and user id.
60Login and user id's should be unique across the system, and often across
61a group of systems, since they are used to control file access.
62Typically, users working on similar projects will be put in the same groups.
63At the University of California, Berkeley, we have groups for system staff,
64faculty, graduate students, and special groups for large projects.
65.Pp
66A skeletal account for a new user
52character, as that tends to confuse mailers.
53An account can be added by editing a line into the passwd file; this
54must be done with the password file locked e.g. by using
55.Xr chpass 1
56or
57.Xr vipw 8 .
58.Pp
59A new user is given a group and user id.
60Login and user id's should be unique across the system, and often across
61a group of systems, since they are used to control file access.
62Typically, users working on similar projects will be put in the same groups.
63At the University of California, Berkeley, we have groups for system staff,
64faculty, graduate students, and special groups for large projects.
65.Pp
66A skeletal account for a new user
67\*(lqernie\*(rq
67.Dq ernie
68might look like:
69.Bd -literal
70ernie::25:30::0:0:Ernie Kovacs,508 Evans Hall,x7925,
71 642-8202:/a/users/ernie:/bin/csh
72.Ed
73.Pp
74For a description of each of these fields, see
75.Xr passwd 5 .

--- 42 unchanged lines hidden ---
68might look like:
69.Bd -literal
70ernie::25:30::0:0:Ernie Kovacs,508 Evans Hall,x7925,
71 642-8202:/a/users/ernie:/bin/csh
72.Ed
73.Pp
74For a description of each of these fields, see
75.Xr passwd 5 .

--- 42 unchanged lines hidden ---