Manpages

名 前

update-passwd - /etc/passwd, /etc/shadow, /etc/group の 安 全 な 更 新

書 式

update-passwd [options]

説 明

update-passwd handles updates of /etc/passwd, /etc/shadow and /etc/group on running Debian systems. It compares the current files to master copies, distributed in the base-passwd package, and updates all entries in the global system range (that is, 0–99). It leaves backup copies of the previous versions of modified files with the extension ’.org’ (for “original”).

オ プ シ ョ ン

update-passwd は 、 通 常 の GNU コ マ ン ド ラ イ ン 構 文 を 受 け 付 け ま す 。 長 い オ プ シ ョ ン は 、 ダ ッ シ ュ (’-’) 2 個 で 始 ま り ま す 。
-p
--passwd-master=FILE

passwd デ ー タ ベ ー ス の マ ス タ ー コ ピ ー と し て FILE を 使 用 し ま す 。 デ フ ォ ル ト 値 は /usr/share/base-passwd/passwd.master で す 。

-g--group-master=FILE

group デ ー タ ベ ー ス の マ ス タ ー コ ピ ー と し て FILE を 使 用 し ま す 。 デ フ ォ ル ト 値 は /usr/share/base-passwd/group.master で す 。

-P--passwd=FILE シ ス テ ム の passwd デ ー タ ベ ー ス と し て FILE を 使 用 し ま す 。 デ フ ォ ル ト 値 は /etc/passwd で す 。
-S
--shadow=FILE シ ス テ ム の shadow デ ー タ ベ ー ス と し て FILE を 使 用 し ま す 。 デ フ ォ ル ト 値 は /etc/shadow で す 。
-G
--group=FILE シ ス テ ム の group デ ー タ ベ ー ス と し て FILE を 使 用 し ま す 。 デ フ ォ ル ト 値 は /etc/group で す 。
-s
--sanity-check 整 合 チ ェ ッ ク の み を 行 い 、 他 に は 何 も し ま せ ん 。
-v
--verbose 処 理 内 容 の 詳 細 を 提 供 し ま す 。 2 個 目 の -v で 、 さ ら に 詳 細 に な り ま す 。
-n
--dry-run 何 も し ま せ ん が 、 何 を し よ う と し て い る か を 表 示 だ け 行 い ま す 。
-L
--no-locking ア カ ウ ン ト デ ー タ ベ ー ス を ロ ッ ク し ま せ ん 。 こ れ は デ バ ッ グ 用 に の み 使 用 す る よ う に し て く だ さ い 。 繰 り 返 し ま す が 。 本 当 に 必 要 な と き 以 外 は 、 使 用 し な い で く だ さ い !
-h
--help

update-passwd の 使 用 法 の ま と め を 表 示 し ま す 。

-V--version バ ー ジ ョ ン 番 号 を 表 示 し ま す 。

環 境 変 数

DEBIAN_HAS_FRONTEND

If this environment variable is set and the --dry-run flag was not given, update-passwd uses debconf to prompt for whether to make changes. Each proposed change will produce a separate prompt. User or group removals, UID or GID changes, and home directory changes will be asked with high priority. User or group additions and shell changes will be asked with medium priority. Questions about whether to move entries above the NIS compat inclusion entry or whether to change the GECOS of a user are asked at low priority.

バ グ

現 在 の と こ ろ 、 update-passwd は shadow フ ァ イ ル の 検 証 を 行 い ま せ ん 。 passwd の エ ン ト リ が shadow に も あ る か (そ の 反 対 も )、 ま た パ ス ワ ー ド が 両 方 の フ ァ イ ル に な い か チ ェ ッ ク す る べ き で す 。

著 者

Wichert Akkerman <wakkerma [AT] debian.org> こ の プ ロ グ ラ ム は Debian プ ロ ジ ェ ク ト 用 に 作 成 さ れ ま し た 。 著 作 権 は Wichert Akkerman (1999–2002) と Colin Watson (2002, 2003) に あ り ま す 。 GNU General Public License の 第 2 版 に よ り 頒 布 さ れ て い ま す 。

翻 訳

倉 澤 望 <nabetaro [AT] debian.jp>

Debian JP Documentation ML <debian-doc [AT] debian.jp>