-g, --group group データベースを編集する -h, --help このヘルプを表示して終了する -p, --passwd passwd データベースを編集する -q, --quiet 表示抑制モード -R, --root CHROOT_DIR chroot するディレクトリ -s, --shadow shadow データベースを編集する
-g, --group edit group database -h, --help display this help message and exit -p, --passwd edit passwd database -q, --quiet quiet mode -R, --root CHROOT_DIR directory to chroot into -s, --shadow edit shadow or gshadow database
VIPW(8) VIPW(8) 名前 vipw, vigr - password, group とそれぞれの shadow ファイルを編集する 書式 vipw [-s] vigr [-s] 説明 vipw と vigr は、それぞれ /etc/passwd " と " /etc/group を編集する。 -s フラグが指定されると、これらのファイルの shadow 化版である /etc/shadow と /etc/gshadow をそれぞれ編集する。これらのプログラムはファイルが壊れ ないよう適切なロックを設定する。 これらのプログラムは、利用するエディタとしてまず環境変数 VISUAL, 環境変 数 EDITOR, を順に試し、最後にデフォルトのエディタである vi を用いようと する。 関連項目 group(5), passwd(5), shadow(5) 26 Sep 1997 VIPW(8)
VIPW(8) System Management Commands VIPW(8) NAME vipw, vigr - edit the password, group, shadow-password or shadow-group file SYNOPSIS vipw [options] vigr [options] DESCRIPTION The vipw and vigr commands edits the files /etc/passwd and /etc/group, respectively. With the -s flag, they will edit the shadow versions of those files, /etc/shadow and /etc/gshadow, respectively. The programs will set the appropriate locks to prevent file corruption. When looking for an editor, the programs will first try the environment variable $VISUAL, then the environment variable $EDITOR, and finally the default editor, vi(1). OPTIONS The options which apply to the vipw and vigr commands are: -g, --group Edit group database. -h, --help Display help message and exit. -p, --passwd Edit passwd database. -q, --quiet Quiet mode. -R, --root CHROOT_DIR Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory. -s, --shadow Edit shadow or gshadow database. ENVIRONMENT VISUAL Editor to be used. EDITOR Editor to be used if VISUAL is not set. FILES /etc/group Group account information. /etc/gshadow Secure group account information. /etc/passwd User account information. /etc/shadow Secure user account information. SEE ALSO vi(1), group(5), gshadow(5) , passwd(5), , shadow(5). shadow-utils 4.1.5.1 05/10/2016 VIPW(8)
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa