shadow/man/zh_TW/usermod.8

130 lines
4.7 KiB
Groff
Raw Normal View History

.\" $Id: usermod.8,v 1.6 2005/04/05 19:08:57 kloczek Exp $
.\" Copyright 1991 \- 1994, Julianne Frances Haugh
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.TH USERMOD 8
.SH <EFBFBD>W<EFBFBD><EFBFBD>
usermod \- <20><> <20><> <20><> <20><> <20><> <20>b <20><>
.SH <EFBFBD>y<EFBFBD>k
.TP 8
.B usermod
.\" .RB [ \-A
.\" .RI { method | \fBDEFAULT\fR "},... ]"
.RB [ \-c
.IR comment ]
.RB [ \-d
.IR home_dir " ["
.BR \-m ]]
.br
.RB [ \-e
.IR expire_date ]
.RB [ \-f
.IR inactive_time ]
.br
.RB [ \-g
.IR initial_group ]
.RB [ \-G
.IR group [,...]]
.br
.RB [ \-l
.IR login_name ]
.RB [ \-s
.IR shell ]
.br
.RB [ \-u
.IR uid " ["
.BR \-o ]]
.I login
.SH <EFBFBD>y<EFBFBD>z
\fBusermod\fR <20>R <20>O <20>| <20><> <20><> <20>A <20>R <20>O <20>C <20>W <20><> <20>w <20><> <20><> <20><> <20><> <20><> <20>t <20><> <20>b
<EFBFBD><EFBFBD> <20><> <20>C <20>U <20>C <20><> \fBusermod\fR <20>i <20><> <20><> <20><> <20><> <20><> <20>C
.\" .IP "\fB\-A \fImethod\fR|\fBDEFAULT\fR"
.\" The new value of the user's authentication method.
.\" The authentication method is the name of a program which is responsible
.\" for validating the user's identity.
.\" The string \fBDEFAULT\fR may be used to change the user's authentication
.\" method to the standard system password method.
.IP "\fB\-c\fR \fIcomment\fR"
<EFBFBD><EFBFBD> <20>s <20><> <20><> <20><> <20>b <20><> password <20><> <20><> <20><> <20>` <20><> <20><>
<EFBFBD>A <20>@ <20><> <20>O <20><> <20><> \fBchfn\fR(1) <20><> <20><> <20><> <20>C
.IP "\fB\-d\fR \fIhome_dir\fR"
<EFBFBD><EFBFBD> <20>s <20><> <20><> <20><> <20>s <20><> <20>n <20>J <20><> <20><> <20>C
<EFBFBD>p <20>G <20><> <20>w \fB\-m\fR <20><> <20><> <20>A <20><> <20><> <20><> <20><> <20><> <20><> <20>| <20>h <20><> <20>s <20><> <20><> <20><> <20>h
<EFBFBD>A<EFBFBD>p <20><> <20><> <20><> <20><> <20>s <20>b <20>h <20><> <20><> <20>s <20><> <20>C
.IP "\fB\-e\fR \fIexpire_date\fR"
<EFBFBD>[ <20>W <20><> <20><> <20><> <20>b <20><> <20><> <20><> <20><> <20><> <20>C <20><> <20><> <20><> <20><> <20><> \fIMM/DD/YY\fR.
.IP "\fB\-f\fR \fIinactive_days\fR"
<EFBFBD>b <20><> <20>L <20><> <20>X <20><> <20><> <20><> <20>[ <20><> <20>v<EFBFBD>C<EFBFBD><43> <20><> <20><> 0 <20><>
<EFBFBD>b <20><> <20>h <20><> <20><> <20>Q <20><> <20>v <20>C <20><> <20><> <20><> <20><> \-1 <20><> <20>h <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\\<EFBFBD><EFBFBD>
<EFBFBD>C<EFBFBD>w <20>] <20><> <20><> \-1<EFBFBD>C
.IP "\fB\-g\fR \fIinitial_group\fR"
<EFBFBD><EFBFBD> <20>s <20><> <20><> <20><> <20>s <20><> <20>_ <20>l <20>n <20>J <20>s <20><> <20>C <20>s <20><> <20>W <20><> <20>w <20>s <20>b
<EFBFBD>C<EFBFBD>s <20><> ID <20><> <20><> <20><> <20><> <20>J <20><> <20><> <20><> <20>s <20><> <20>C <20>s <20><> ID <20>w <20>] <20><> <20><> 1 <20>C
.IP "\fB\-G\fR \fIgroup,[...]\fR"
<EFBFBD>w <20>q <20><> <20><> <20><> <20><> <20>@ <20><> groups <20><> <20><> <20><> <20>C <20>C
<EFBFBD><EFBFBD> <20>s <20><> <20><> <20><> "," <20><> <20><> <20>} <20><> <20>A <20><> <20>i <20>H <20><> <20><> <20><>
<EFBFBD><EFBFBD> <20>r <20><> <20>C <20>s <20><> <20>W <20>P \-g <20><> <20><> <20><> <20><> <20><> <20>C
<EFBFBD>p <20>G <20><> <20><> <20><> <20>{ <20>b <20><> <20>s <20><> <20><> <20>A <20><> <20>C <20>A <20>h <20>N <20><> <20><> <20><> <20><> <20><>
<EFBFBD>s <20><> <20><> <20><> <20><> <20>C
.IP "\fB\-l\fR \fIlogin_name\fR"
<EFBFBD><EFBFBD> <20><> <20><> <20><> <20><> \fIlogin\fR <20><> <20><> <20>W <20><> <20><> \fIlogin_name\fR <20>C
<EFBFBD><EFBFBD> <20><> <20><> <20><> <20>C <20>S <20>O <20>O <20>A <20><> <20><> <20><> <20><> <20><> <20>W <20><> <20><> <20>] <20>| <20><> <20><> <20><> <20><> <20><> <20>s
<EFBFBD><EFBFBD> <20>n <20>J <20>W <20>C
.IP "\fB\-s\fR \fIshell\fR"
<EFBFBD><EFBFBD> <20>w <20>s <20>n <20>J shell <20>C <20>p <20><> <20><> <20>d <20><> <20>A <20>t <20><> <20>N <20><> <20><> <20>t <20><> <20>w <20>] shell <20>C
.IP "\fB\-u\fR \fIuid\fR"
<EFBFBD><EFBFBD> <20><> <20><> ID <20><> <20>C<EFBFBD><43> <20><> <20><> <20><> <20>@ <20><> ID <20><> <20>A <20><> <20>D <20><> \fI\-o\fR <20><> <20><> <20>C <20><>
<EFBFBD>r <20><> <20>i <20><> <20>t <20>ȡC<C8A1>w <20>] <20><> <20><> <20>p <20><> <20>o <20>p <20><> 999 <20><> <20>v <20><>
<EFBFBD>W <20>[ <20>C 0~ 999 <20><> <20><> <20>W <20>O <20>O <20>d <20><> <20>t <20><> <20>b <20><> <20><> <20><> <20>C
<EFBFBD><EFBFBD> <20><> <20><> <20><> <20><> <20><> <20>U <20><> <20><> <20><> <20><> <20><> <20><> <20><> <20><> user ID <20>| <20><> <20><> <20><> <20><> <20>C
<EFBFBD><EFBFBD> <20>b <20><> <20><> <20><> <20><> <20><> <20>~ <20><> <20><> <20><> <20>h <20>n <20><> <20><> <20><> <20><> <20><> <20><> <20>C
.SH ĵ<EFBFBD>i
\fBusermod\fR <20><> <20><> <20>\ <EFBFBD>A <20><> <20><> <20><> <20>b<EFBFBD>u <20>W <20><> <20><> <20><> <20><> <20>b <20><> <20>W <20><> <20>C
<EFBFBD><EFBFBD> usermod <20><> <20><> <20><> <20><> user ID, <20><> <20><> <20>T <20>{ <20>o <20>W user <20>S <20>b <20>q <20><> <20>W <20><>
<EFBFBD><EFBFBD> <20><> <20><> <20>{ <20>ǡC
<EFBFBD>A <20><> <20><> <20><> <20><> <20><> <20><> <20><> <20><> <20><> crontab <20><> <20>C
<EFBFBD>] <20><> <20><> <20><> <20><> <20><> <20><> <20><> <20><> <20><> at <20>u <20>@ <20><> <20>C
<EFBFBD><EFBFBD> <20><> NIS server <20><> <20>b server <20>W <20><> <20><> <20><> <20><> <20><> NIS <20>] <20>w <20>C
.SH <EFBFBD>ɮ<EFBFBD>
\fI/etc/passwd\fR \- <20><> <20><> <20><> <20>b <20><> <20><> <20>T
.br
\fI/etc/shadow\fR \- <20><> <20><> <20><> <20>b <20><> <20><> <20>T <20>[ <20>K
.br
\fI/etc/group\fR \- <20>s <20><> <20><> <20>T
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
.BR chfn (1),
.BR chsh (1),
.BR groupadd (8),
.BR groupdel (8),
.BR groupmod (8),
.BR passwd (1),
.BR useradd (8),
.BR userdel (8)
.SH <EFBFBD>@<40><>
Julianne Frances Haugh (jfh@tab.com)