File: usermod.8

package info (click to toggle)
manpages-ja 0.5.0.0.20061115-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,788 kB
  • ctags: 4
  • sloc: sh: 13,215; perl: 157; makefile: 117
file content (145 lines) | stat: -rw-r--r-- 5,943 bytes parent folder | download | duplicates (4)
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
133
134
135
136
137
138
139
140
141
142
143
144
145
.\"$Id: usermod.8,v 1.12 2002/03/08 04:39:12 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.
.\"
.\" 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>
.\" Updated Tue Jan 23 17:21:08 JST 2001
.\"         by Kentaro Shirakata <argrath@ub32.org>
.\" Modified Sun 22 Sep 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\"
.\"WORD:        initial group           祰롼
.\"WORD:        supplementary group     롼
.\"
.TH USERMOD 8
.SH ̾
usermod \- 桼Ȥ
.SH 
\fBusermod\fR [\fB-c\fR \fIcomment\fR] [\fB-d\fR \fIhome_dir\fR [\fB-m\fR]]
.br
[\fB-e\fR \fIexpire_date\fR] [\fB-f\fR \fIinactive_time\fR]
.br
[\fB-g\fR \fIinitial_group\fR] [\fB-G\fR \fIgroup\fR [,...]]
.br
[\fB-l\fR \fIlogin_name\fR] [\fB-p\fR \fIpasswd\fR]
.br
[\fB-s\fR \fIshell\fR] [\fB-u\fR \fIuid\fR [\fB-o\fR]] [\fB-L\fR|\fB-U\fR]
\fIlogin\fR
.SH 
\fBusermod\fR ޥɤϡ
ޥɥ饤Ǥλˤäơ
ƥॢȥե롣
\fBusermod\fR ޥɤ˻Ǥ륪ץϼ̤ꡣ
.IP "\fB-c \fIcomment\fR"
ѥɥեΥȥեɤͿ뿷͡
̾
.BR chfn (1)
桼ƥƥˤäѹ롣
.IP "\fB-d \fIhome_dir\fR"
ǥ쥯ȥꡣ
\fB-m\fR ץѤȡ
ߤΥۡǥ쥯ȥȤۡǥ쥯ȥ˰ư
(Ԥ¸ߤʤϿ˺)
.IP "\fB-e \fIexpire_date\fR"
Υ桼Ȥǽˤʤա
դ \fIYYYY-MM-DD\fR Ȥ񼰤ǻꤹ롣
.IP "\fB-f \fIinactive_days\fR"
ѥɤλѴ¤ڤƤ饢Ȥʵפ˻ǽˤʤޤǤ
0 ˤȡ
ѥɤδ¤ڤƱˤΥȤϻǽˤʤ롣
-1 ˤȤεǽ̵ˤʤ롣ǥեͤ -1
.IP "\fB-g \fIinitial_group\fR"

ˤΥ桼Υ롼פȤ륰롼̾ޤ ID
롼̾ϴ¸ߤƤʤФʤʤ
롼ֹϴ¸Υ롼פ򻲾ȤƤʤФʤʤ
ǥեȤΥ롼ֹ 1
.IP "\fB-G \fIgroup,[...]\fR"
桼°롼 (supplementary groups) Υꥹȡ
롼פϥޤǶڤꡢ֤˶ʸƤϤʤʤ
Ǥ륰롼פˤ \fB-g\fR ץƱͤ¤롣
ߤΥ桼
ꥹȤˤʤ롼פΥСˤʤäƤϡ
Υ롼פ롣
.IP "\fB-l \fIlogin_name\fR"
桼Υ̾ \fIlogin\fR  \fIlogin_name\fR ѹ롣
¾ϲѹʤΤǡ
餯̾˹碌
ۡǥ쥯ȥ̾ѹɬפ
.IP "\fB-p \fIpasswd\fR"                                                
\fBcrypt\fR(3) ֤ͤǤŹ沽ѥɡ
.IP "\fB-s \fIshell\fR"
桼ο󥷥̾
Υեɤˤϡ
ƥबǥեȤΥ󥷥򤹤롣
.IP "\fB-u \fIuid\fR"
桼 ID ֹ档
ͤϡ\fB-o\fR ץѤ¾ȽʣƤϤʤʤ
ޤͤǤʤƤϤʤʤ
0  99 ޤǤͤϡ̾亮ƥॢѤͽ󤵤Ƥ롣
ۡǥ쥯ȥʲΡ
Υ桼ͭΤ٤ƤΥեΥ桼 ID ϡ
ưŪ˿ͤѹ롣
ۡǥ쥯ȥʲˤʤեϼȤѹʤФʤʤ
.IP "\fB-L\fR"
桼Υѥɤå롣
ϰŹ沽줿ѥɤ '!' ɲä
¼Ū˥ѥɤ̵ˤ롣
Υץ \fI-p\fR  \fI-U\fR ƱѤ뤳ȤϤǤʤ
.IP "\fB-U\fR"
桼Υѥɤ򥢥å롣
ϰŹ沽줿ѥɤƬ '!' 
Υץ \fI-p\fR  \fI-L\fR ƱѤ뤳ȤϤǤʤ
.SH ٹ
\fBusermod\fR
ϸߥ󤷤Ƥ桼̾ѹǤʤ
ΥޥɤѤƥ桼 ID ֹѹݤˤϡ
ꤷ桼ΥץĤ¹ԤƤʤȤ
˳ǧʤФʤʤ
crontab եνͭԤϼȤѹʤФʤʤ
at ֤νͭԤϼȤѹʤФʤʤ
NIS ˴ؤȤ NIS оǹԤʤʤФʤʤ
.SH ե
/etc/passwd \- 桼Ⱦ
.br
/etc/shadow \- ʥ桼Ⱦ
.br
/etc/group \- 롼׾
.SH Ϣ
.BR chfn (1),
.BR chsh (1),
.BR passwd (1),
.BR crypt (3),
.BR groupadd (8),
.BR groupdel (8),
.BR groupmod (8),
.BR useradd (8),
.BR userdel (8)
.SH 
Julianne Frances Haugh (jockgrrl@ix.netcom.com)