]> git.cameronkatri.com Git - pw-darwin.git/blob - adduser/adduser.1
Change ${COPY} to -c, always needed here
[pw-darwin.git] / adduser / adduser.1
1
2 .\" Copyright (c) 1994 GB Data Systems
3 .\" All rights reserved.
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.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. The name of the Author may not be used to endorse or promote products
13 .\" derived from this software without specific prior written permission.
14 .\" THIS SOFTWARE IS PROVIDED BY GB DATA AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL GB DATA OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 .\" SUCH DAMAGE.
25
26 .\" $Id: adduser.1,v 1.2 1994/12/28 07:11:29 gclarkii Exp $
27
28 .Dd December 28, 1994
29 .Dt ADDUSER 1
30 .Os FreeBSD
31
32 .Sh NAME
33 .Nm adduser
34
35 .Sh SYNOPSIS
36 .Nm
37
38 .Sh DESCRIPTION
39 .Nm
40 is a Perl script for adding users under a BSD system. It has the ability to
41 keep track of the current userid and increment this automaticly. It can
42 also use a default group id.
43 .Ss SETUP
44 In the normal course of usage there is no setup needed. If you wish to use
45 auto-increment mode, you must do two things.
46
47 .Bl -enum -compact
48 .It
49 Change the variable in
50 .Pa /etc/adduser.conf
51 to allow for the auto-increment
52 .It
53 Change the file
54 .Pa /etc/userids
55 to show the current id number.
56 .El
57
58 To use the default group id, just change the variable in
59 .Pa /etc/adduser.conf
60 to reflect the group that you wish as a default.
61
62 .Sh FILES
63 .Pa /etc/adduser.conf
64 .Pa /etc/userids
65 .Pa /usr/share/skel/*
66
67 .Sh SEE ALSO
68 .Xr adduser 8
69 .Xr perl 1
70
71 .Sh HISTORY
72 The adduser command appeared in FreeBSD 2.0C (12-94).
73
74
75