OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / shadow / draft / man8 / pwconv.8
1 .\"$Id: pwconv.8,v 1.10 2002/03/08 04:39:12 kloczek Exp $
2 .\"
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>
8 .\"
9 .TH PWCONV 8 "26 Sep 1997"
10 .\"O .SH NAME
11 .SH 名前
12 .\"O pwconv, pwunconv, grpconv, grpunconv \- convert to and from shadow passwords and groups.
13 pwconv, pwunconv, grpconv, grpunconv \- パスワード・グループの shadow 化と、通常ファイルへの逆変換
14 .\"O .SH SYNOPSIS
15 .SH 書式
16 .B pwconv
17 .br
18 .B pwunconv
19 .br
20 .B grpconv
21 .br
22 .B grpunconv
23 .\"O .SH DESCRIPTION
24 .SH 説明
25 .\"O These four programs all operate on the normal and shadow password and
26 .\"O group files:
27 .\"O .IR /etc/passwd ", " /etc/group ", " /etc/shadow ", and " /etc/gshadow .
28 これら 4 つのプログラムは、
29 通常のパスワードファイル・グループファイルと、
30 shadow 化されたパスワードファイル・グループファイルである
31 .IR /etc/passwd ", " /etc/group ", " /etc/shadow ", " /etc/gshadow
32 を操作する。
33
34 .\"O .B pwconv
35 .\"O .RI "creates " shadow " from " passwd " and an optionally existing " shadow .
36 .\"O .B pwunconv
37 .\"O .RI "creates " passwd " from " passwd " and " shadow " and then removes " shadow .
38 .\"O .B grpconv
39 .\"O .RI "creates " gshadow " from " group " and an optionally existing " gshadow .
40 .\"O .B grpunconv
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 を削除する。
50
51 .\"O Each program acquires the necessary locks before conversion.
52 各プログラムは変換前に、必要なロックを要求する。
53
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
61 .\"O hand.
62 .B pwconv 
63
64 .B grpconv
65 とは以下の点で類似している。
66 まず、shadow 化ファイルにあるエントリのうち、
67 通常ファイルにないものは、削除される。
68 また、shadow 化ファイルにあるエントリのうち、
69 通常ファイルでパスワードが `x' になっていないものは、更新される。
70 最後に、通常ファイルに書かれたパスワードは `x' に置き換えられる。
71 これらのプログラムは、初めて変換を行うときにも、
72 また通常のファイルを手動で編集した際に、
73 shadow 化ファイルを更新するときにも利用できる。
74
75 .\"O .B pwconv
76 .\"O will use the values of
77 .\"O .BR PASS_MIN_DAYS ", " PASS_MAX_DAYS ", and " PASS_WARN_AGE
78 .\"O from
79 .\"O .I /etc/login.defs
80 .\"O when adding new entries to
81 .\"O .IR /etc/shadow .
82 .I /etc/shadow
83 に新しいエントリを追加するとき、
84 .B pwconv
85
86 .I /etc/login.defs
87
88 .BR PASS_MIN_DAYS ", " PASS_MAX_DAYS ", " PASS_WARN_AGE
89 の値を使う。
90
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.
95 同じように、
96 .B pwunconv
97
98 .B grpunconv
99 とは以下の点で類似している。
100 通常ファイルのパスワードは、
101 shadow 化ファイルのもので更新される。
102 通常ファイルにあるエントリは、
103 shadow 化ファイルにはそのエントリがなくても、
104 そのまま置かれ続ける。
105 最後に、 shadow 化ファイルは削除される。
106
107 .\"O Some password aging information is lost by
108 .\"O .BR pwunconv .
109 .\"O It will convert what it can.
110 パスワードの有効期限情報の一部は、
111 .B pwunconv 
112 によって失われる。変換できるものは変換される。
113 .\"O .SH "BUGS"
114 .SH バグ
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 を実行してエラーを修正すること。
125 .\"O .SH "SEE ALSO"
126 .SH 関連項目
127 .BR login.defs (5),
128 .BR grpck (8),
129 .BR pwck (8)