2007-10-07 17:16:07 +05:30
. \" $Id: usermod.8,v 1.6 2005/04/05 19:08:57 kloczek Exp $
. \" Copyright 1991 \- 1994, Julianne Frances Haugh
2007-10-07 17:15:23 +05:30
. \" 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
2007-10-07 17:16:07 +05:30
. \" .RB [ \-A
2007-10-07 17:15:23 +05:30
. \" .RI { method | \fBDEFAULT\fR "},... ]"
2007-10-07 17:16:07 +05:30
.RB [ \- c
2007-10-07 17:15:23 +05:30
.IR comment ]
2007-10-07 17:16:07 +05:30
.RB [ \- d
2007-10-07 17:15:23 +05:30
.IR home_dir " ["
2007-10-07 17:16:07 +05:30
.BR \- m ]]
2007-10-07 17:15:23 +05:30
.br
2007-10-07 17:16:07 +05:30
.RB [ \- e
2007-10-07 17:15:23 +05:30
.IR expire_date ]
2007-10-07 17:16:07 +05:30
.RB [ \- f
2007-10-07 17:15:23 +05:30
.IR inactive_time ]
.br
2007-10-07 17:16:07 +05:30
.RB [ \- g
2007-10-07 17:15:23 +05:30
.IR initial_group ]
2007-10-07 17:16:07 +05:30
.RB [ \- G
2007-10-07 17:15:23 +05:30
.IR group [,...]]
.br
2007-10-07 17:16:07 +05:30
.RB [ \- l
2007-10-07 17:15:23 +05:30
.IR login_name ]
2007-10-07 17:16:07 +05:30
.RB [ \- s
2007-10-07 17:15:23 +05:30
.IR shell ]
.br
2007-10-07 17:16:07 +05:30
.RB [ \- u
2007-10-07 17:15:23 +05:30
.IR uid " ["
2007-10-07 17:16:07 +05:30
.BR \- o ]]
2007-10-07 17:15:23 +05:30
.I login
.SH <EFBFBD> y<EFBFBD> z
\fB usermod\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> <> \fB usermod\fR <20> i <20> <> <20> <> <20> <> <20> <> <20> <> <20> C
2007-10-07 17:16:07 +05:30
. \" .IP "\fB\-A \fImethod\fR|\fBDEFAULT\fR"
2007-10-07 17:15:23 +05:30
. \" 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.
2007-10-07 17:16:07 +05:30
.IP "\fB\-c\fR \fIcomment\fR"
2007-10-07 17:15:23 +05:30
<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> <> \fB chfn\fR (1) <20> <> <20> <> <20> <> <20> C
2007-10-07 17:16:07 +05:30
.IP "\fB\-d\fR \fIhome_dir\fR"
2007-10-07 17:15:23 +05:30
<EFBFBD> <EFBFBD> <20> s <20> <> <20> <> <20> <> <20> s <20> <> <20> n <20> J <20> <> <20> <> <20> C
2007-10-07 17:16:07 +05:30
<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
2007-10-07 17:15:23 +05:30
<EFBFBD> A<EFBFBD> p <20> <> <20> <> <20> <> <20> <> <20> s <20> b <20> h <20> <> <20> <> <20> s <20> <> <20> C
2007-10-07 17:16:07 +05:30
.IP "\fB\-e\fR \fIexpire_date\fR"
2007-10-07 17:15:23 +05:30
<EFBFBD> [ <20> W <20> <> <20> <> <20> <> <20> b <20> <> <20> <> <20> <> <20> <> <20> <> <20> C <20> <> <20> <> <20> <> <20> <> <20> <> \fI MM/DD/YY\fR .
2007-10-07 17:16:07 +05:30
.IP "\fB\-f\fR \fIinactive_days\fR"
2007-10-07 17:15:23 +05:30
<EFBFBD> b <20> <> <20> L <20> <> <20> X <20> <> <20> <> <20> <> <20> [ <20> <> <20> v<EFBFBD> C<EFBFBD> <43> <20> <> <20> <> 0 <20> <>
2007-10-07 17:16:07 +05:30
<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"
2007-10-07 17:15:23 +05:30
<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
2007-10-07 17:16:07 +05:30
.IP "\fB\-G\fR \fIgroup,[...]\fR"
2007-10-07 17:15:23 +05:30
<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> <>
2007-10-07 17:16:07 +05:30
<EFBFBD> <EFBFBD> <20> r <20> <> <20> C <20> s <20> <> <20> W <20> P \- g <20> <> <20> <> <20> <> <20> <> <20> <> <20> C
2007-10-07 17:15:23 +05:30
<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
2007-10-07 17:16:07 +05:30
.IP "\fB\-l\fR \fIlogin_name\fR"
2007-10-07 17:15:23 +05:30
<EFBFBD> <EFBFBD> <20> <> <20> <> <20> <> <20> <> \fI login\fR <20> <> <20> <> <20> W <20> <> <20> <> \fI login_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
2007-10-07 17:16:07 +05:30
.IP "\fB\-s\fR \fIshell\fR"
2007-10-07 17:15:23 +05:30
<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
2007-10-07 17:16:07 +05:30
.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> <>
2007-10-07 17:15:49 +05:30
<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
2007-10-07 17:15:23 +05:30
<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
\fB usermod\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)