Rev | Line | |
---|
[9] | 1 | .TH ADDUSER 8
|
---|
| 2 | .SH NAME
|
---|
| 3 | adduser \- add a new user to the system
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBadduser \fIuser group home-dir\fR\fR
|
---|
| 6 | .br
|
---|
| 7 | .de FL
|
---|
| 8 | .TP
|
---|
| 9 | \\fB\\$1\\fR
|
---|
| 10 | \\$2
|
---|
| 11 | ..
|
---|
| 12 | .de EX
|
---|
| 13 | .TP 20
|
---|
| 14 | \\fB\\$1\\fR
|
---|
| 15 | # \\$2
|
---|
| 16 | ..
|
---|
| 17 | .SH EXAMPLES
|
---|
| 18 | .EX "adduser ast other /usr/ast" "How user ast could be added"
|
---|
| 19 | .EX "adduser bin operator /usr/src" "How user bin could be added"
|
---|
| 20 | .SH DESCRIPTION
|
---|
| 21 | .PP
|
---|
| 22 | .I Adduser
|
---|
| 23 | adds a new user to the system by making new entries in
|
---|
| 24 | .B /etc/passwd
|
---|
| 25 | and
|
---|
| 26 | .B /etc/shadow
|
---|
| 27 | for the new user, creating a new home directory, and copying the contents
|
---|
| 28 | of the template home directory
|
---|
| 29 | .B /usr/ast
|
---|
| 30 | into it. The user-id of this new user will be the first free number not less
|
---|
| 31 | than 10. The password is initially empty, the full name must be set, and
|
---|
| 32 | the shell is the Bourne Shell,
|
---|
| 33 | .B /bin/sh .
|
---|
| 34 | Use
|
---|
| 35 | .I passwd ,
|
---|
| 36 | .I chfn ,
|
---|
| 37 | and
|
---|
| 38 | .I chsh
|
---|
| 39 | to change.
|
---|
| 40 | .SH "SEE ALSO"
|
---|
| 41 | .BR login (1),
|
---|
| 42 | .BR passwd (1),
|
---|
| 43 | .BR passwd (5).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.