1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
|
.\" Copyright 1991 - 1994, John F. Haugh II
.\" 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. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by John F. Haugh, II
.\" and other contributors.
.\" 4. Neither the name of John F. Haugh, II 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 JOHN 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 JOHN 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.
.\"
.\" $Id: usermod.1,v 1.2 1996/03/18 02:46:40 marekm Exp $
.\"
.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka
.\" all rights reserved.
.\" Translated Fri Feb 14 23:06:00 JST 1997
.\" by Kazuyoshi Furutaka <furutaka@Flux.tokai.jaeri.go.jp>
.\"
.TH USERMOD 1M
.SH ̾
usermod \- 桼Ȥѹ
.SH
.B usermod
[ \fB-A\fI method\fR | \fBDEFAULT\fR ]
[ \fB-c\fI comment\fR ]
[ \fB-d\fI home_dir \fR[ \fB-m\fR ] ]
[ \fB-e\fI expire_date\fR ]
[ \fB-f\fI inactive_time\fR ]
[ \fB-g\fI initial_group\fR ]
[ \fB-G\fI group[,...]\fR ]
[ \fB-l\fI login_name \fR ]
[ \fB-s\fI shell\fR ]
[ \fB-u\fI uid \fR[ \fB-o\fR ]
.I login
.SH
\fIusermod\fRޥɤϥޥɥ饤Ǥλؼˤä
ƥΥȥեѹ롣
\fIusermod\fRޥɤǻȤ륪ץ
.IP "\fB-A \fImethod\fR|\fBDEFAULT\fR"
桼οǧˡ
桼ǧˡȤϡ桼ܿͤǤǧ٤Υץ̾Ǥ롣
ʸ\fBDEFAULT\fRѤƥ桼ǧˡƥɸΥѥ
ѹ롣
.IP "\fB-c \fIcomment\fR"
ѥɥեο
̾\fBchfn(1)\fR桼ƥƥѤѹ롣
.IP "\fB-d \fIhome_dir\fR"
ǥ쥯ȥꡣ
\fB-m\fRץѤϸߤΥۡǥ쥯ȥȤ
ۡǥ쥯ȥ˰ư롣⤷¸ߤʤϿ
롣
.IP "\fB-e \fIexpire_date\fR"
Ȥǽˤʤա
դ\fIMM/DD/YY\fRȤǻꤹ(MM,DD,YYϤ줾
ǯɽο)
.IP "\fB-f \fIinactive_days\fR"
ѥɤλѴ¤ڤƤ饢Ȥʵפ˻ǽˤʤ
ޤǤ
0Ȥȡѥɤδ¤ڤƱˤΥȤϻԲǽ
ˤʤ롣-1ȤȤεǽƯʤʤ롣
ǥեͤ-1
.IP "\fB-g \fIinitial_group\fR"
ο롼̾ޤID
Υ롼̾ϴ¸ߤƤʤƤϤʤʤ
ޤ롼ֹϴ¸Υ롼פȤƤʤƤϤʤʤ
ǥեȤΥ롼ֹ1Ǥ롣
.IP "\fB-G \fIgroup,[...]\fR"
桼°롼פΥꥹȡ
롼פϥޤѤƶڤꡢ֤˶ʸƤ
ʤʤ
Ǥ륰롼פˤ\fB-g\fRץѤ
Ʊͤ¤롣
ꥹȤˤʤ롼פΥСˤʤäƤϡ
Υ롼פ롣
.IP "\fB-l \fIlogin_name\fR"
桼Υ̾\fIlogin\fR\fIlogin_name\fRѹ롣
¾ϲѹʤ
äˡ̾˹碌ƥۡǥ쥯ȥ̾ѹʤƤ
ʤʤ
.IP "\fB-s \fIshell\fR"
̾
ˤϥƥबǥեȤΥ
롣
.IP "\fB-u \fIuid\fR"
桼IDֹ档
ֹ¾ȽʣƤƤϤʤʤ\fI-o\fRץѤ
ݤϤθ¤ǤϤʤ
ޤͤǤʤƤϤʤʤ
099ͤƥѤΥȤΤͽƤ롣
ۡǥ쥯ȥʲΡΥ桼ͭƤΥեΥ桼IDϡ
ưŪ˿ͤѹ롣
ۡǥ쥯ȥʲˤʤեϼȤѹʤƤϤʤʤ
.SH ٹ
\fBusermod\fRϸߥƤ桼̾ѹϽʤ
ΥޥɤѤƥ桼IDֹѹݤϡ
ꤷ桼ΥץĤ¹ԤƤʤǧƤ
ǤʤƤϤʤʤ
crontabեνͭԤϼȤѹʤƤϤʤʤ
ޤat֤νͭԤȤѹɬפ롣
NIS˴ؤȤNISоǹԤʤʤƤϤʤʤ
.SH ե
/etc/passwd \- 桼Ȥξ
.br
/etc/shadow \- ʥ桼Ⱦ
.br
/etc/group \- 롼
.SH Ϣ
\fBchfn(1), chsh(1), groupadd(1M), groupdel(1M), groupmod(1M),
passwd(1), useradd(1M), userdel(1M)
.SH
Ź <furutaka@Flux.tokai.jaeri.go.jp>
|