1 .\"$Id: pwconv.8,v 1.10 2002/03/08 04:39:12 kloczek Exp $
3 .\" Japanese Version Copyright (c) 2001 Yuichi SATO
4 .\" all rights reserved.
5 .\" Translated Sat Dec 1 20:09:17 JST 2001
6 .\" by Yuichi SATO <ysato@h4.dion.ne.jp>
7 .\" Modified Sun 22 Sep 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
9 .TH PWCONV 8 "26 Sep 1997"
12 .\"O pwconv, pwunconv, grpconv, grpunconv \- convert to and from shadow passwords and groups.
13 pwconv, pwunconv, grpconv, grpunconv \- パスワード・グループの shadow 化と、通常ファイルへの逆変換
25 .\"O These four programs all operate on the normal and shadow password and
27 .\"O .IR /etc/passwd ", " /etc/group ", " /etc/shadow ", and " /etc/gshadow .
29 通常のパスワードファイル・グループファイルと、
30 shadow 化されたパスワードファイル・グループファイルである
31 .IR /etc/passwd ", " /etc/group ", " /etc/shadow ", " /etc/gshadow
35 .\"O .RI "creates " shadow " from " passwd " and an optionally existing " shadow .
37 .\"O .RI "creates " passwd " from " passwd " and " shadow " and then removes " shadow .
39 .\"O .RI "creates " gshadow " from " group " and an optionally existing " gshadow .
41 .\"O .RI "creates " group " from " group " and " gshadow " and then removes " gshadow .
42 \fBpwconv\fR は \fIpasswd\fR から \fIshadow\fR を作成する
43 (すでに存在する場合は \fIshadow\fR の情報も用いる)。
44 \fBpwunconv\fR は \fIpasswd\fR と \fIshadow\fR から
45 \fIpasswd\fR を作成し、\fIshadow\fR を削除する。
46 \fBgrpconv\fR は \fIgroup\fR から \fIgshadow\fR を作成する
47 (すでに存在する場合は \fIgshadow\fR の情報も用いる)。
48 \fBgrpunconv\fR は \fIgroup\fR と \fIgshadow\fR から
49 \fIgroup\fR を作成し、\fIgshadow\fR を削除する。
51 .\"O Each program acquires the necessary locks before conversion.
52 各プログラムは変換前に、必要なロックを要求する。
54 .\"O .BR pwconv " and " grpconv
55 .\"O are similiar. First, entries in the shadowed file which don't exist
56 .\"O in the main file are removed. Then, shadowed entries which don't have
57 .\"O `x' as the password in the main file are updated. Any missing
58 .\"O shadowed entries are added. Finally, passwords in the main file are
59 .\"O replaced with `x'. These programs can be used for initial conversion
60 .\"O as well to update the shadowed file if the main file is edited by
66 まず、shadow 化ファイルにあるエントリのうち、
68 また、shadow 化ファイルにあるエントリのうち、
69 通常ファイルでパスワードが `x' になっていないものは、更新される。
70 最後に、通常ファイルに書かれたパスワードは `x' に置き換えられる。
71 これらのプログラムは、初めて変換を行うときにも、
73 shadow 化ファイルを更新するときにも利用できる。
76 .\"O will use the values of
77 .\"O .BR PASS_MIN_DAYS ", " PASS_MAX_DAYS ", and " PASS_WARN_AGE
79 .\"O .I /etc/login.defs
80 .\"O when adding new entries to
81 .\"O .IR /etc/shadow .
88 .BR PASS_MIN_DAYS ", " PASS_MAX_DAYS ", " PASS_WARN_AGE
91 .\"O .RB "Likewise, " pwunconv " and " grpunconv
92 .\"O are similiar. Passwords in the main file are updated from the
93 .\"O shadowed file. Entries which exist in the main file but not in the
94 .\"O shadowed file are left alone. Finally, the shadowed file is removed.
101 shadow 化ファイルのもので更新される。
103 shadow 化ファイルにはそのエントリがなくても、
105 最後に、 shadow 化ファイルは削除される。
107 .\"O Some password aging information is lost by
109 .\"O It will convert what it can.
112 によって失われる。変換できるものは変換される。
115 .\"O Errors in the password or group files (such as invalid or duplicate
116 .\"O entries) may cause these programs to loop forever or fail in other
117 .\"O strange ways. Please run \fBpwck\fR and \fBgrpck\fR to correct any
118 .\"O such errors before converting to or from shadow passwords or groups.
119 (不正なエントリや重複したエントリといった)
120 エラーがパスワードファイルやグループファイルにあると、
121 プログラムは永遠にループしたり、おかしな形で失敗するかもしれない。
122 shadow パスワード・グループへの変換や
123 shadow 化ファイルからの逆変換を行う前に、
124 \fBpwck\fR と \fBgrpck\fR を実行してエラーを修正すること。