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
|
.\"$Id: chage.1,v 1.9 2002/03/09 19:22:29 ankry Exp $
.\" Copyright 1990 - 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>
.\" Modified Tue 16 Sep 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\"
.TH CHAGE 1
.SH ̾
chage \- 桼ѥɤͭ¾ѹ롣
.SH
.TP 6
\fBchage\fR
[\fB-m \fImindays\fR] [\fB-M \fImaxdays\fR]
[\fB-d \fIlastday\fR] [\fB-I \fIinactive\fR]
.br
[\fB-E \fIexpiredate\fR] [\fB-W \fIwarndays\fR] \fIuser\fR
.TP 6
\fBchage\fR
\fB-l \fIuser\fR
.SH
\fBchage\fR ϡ
ѥɤǸ˹Ƥ顢
ѹʤФʤʤޤǤѹ롣
ƥϤξѤơ
桼ĥѥɤѹʤФʤʤꤹ롣
\fBchage\fR ޥɤȤΤ root 桼Τߤ˸¤Ƥ롣
̥桼 \fB-l\fR ץꤹФΥޥɤѤǤ
ʬΥѥɤޤϥȤڤ뤫Τ뤳ȤǤ롣
.PP
\fB-m\fR ץꤷ硢
\fImindays\fR ͤϥѥѹδֳ֤κûˤʤ롣
ΥեɤȤϡ桼ϤĤǤѥɤѹǤ롣
.PP
\fB-M\fR ץꤹȡ
\fImaxdays\fR ͤϥѥɤͭʺĹȤʤ롣
\fImaxdays\fR \fIlastday\fR ͤߤդ꾮硢
桼ϥȤѤ˥ѥɤѹʤФʤʤ
\fB-W\fR ץȤФδ뤫ʬ褦ˤǤ롣
ξϥ桼˻˷ٹͿ롣
.PP
\fB-d\fR ץѤȡ
ѥɤκǽǤ롣
\fIlastday\fR ͤ
1970 ǯ 1 1 ѥɺǽޤǤǤ롣
դ YYYY-MM-DD Ȥ
(⤷ϤʤϰǤäȤ褯ѤƤ)
ǻꤹǤ롣
.PP
\fB-E\fR ץϡ
ʹߥ桼Ȥ˥ǤʤʤդꤹΤѤ롣
\fIexpiredate\fR 1970 ǯ 1 1
ȤåޤǤǤ롣
դ YYYY-MM-DD Ȥ
(⤷ϤʤϰǤäȤ褯ѤƤ)
ǻꤹ뤳ȤǤ롣
Ȥå줿桼ƤӤΥƥȤˤϡ
ƥԤϢɬפ롣
.PP
\fB-I\fR ץϡ
ѥɤδ¤ڤƤ饢ȤåޤǤ
ꤹ뤿Ѥ롣
Ȥå줿桼ƤӤΥƥȤˤϡ
ƥԤϢʤФʤʤ
\fIinactive\fR ϻǽ֤Ǥ롣
0 ˤФεǽ̵ˤǤ롣
.PP
\fB-W\fR ץϡ
ѥɤѹɬפȤʤ˷ٹԤ֤ꤹ뤿Ѥ롣
\fIwarndays\fR ϡ
ѥɤδڤäơ
桼˴¤ڤ줫äƤ뤳Ȥٹ𤹤Ǥ롣
.PP
Υץꤵʤ
\fBchage\fR Ūư롣
ƤΥեɤФƳơߤͤɽ
ͤϤ¥
ͤꤹϤϤ
ߤͤȤʤԤΤޤޥФ褤
ߤͤ \fB[ ]\fR δ֤ɽ롣
.SH
\fBchage\fR ץѤˤ shadow ѥɥե뤬ɬפǤ롣
εǽϡpasswd ե˥ѥɤ¸ƤȤˤ
ѤǤʤ
.SH ե
/etc/passwd \- 桼Ⱦ
.br
/etc/shadow \- shadow 줿桼Ⱦ
.SH Ϣ
.BR passwd (5),
.BR shadow (5)
.SH
Julianne Frances Haugh <jockgrrl@ix.netcom.com>
|