- bookworm 1:4.13+dfsg1-1+b1
- testing 1:4.16.0-7
- unstable 1:4.16.0-7
- experimental 1:4.17.1-2
VIPW(8) | System Management Commands | VIPW(8) |
名称¶
vipw, vigr - 编辑密码、组、影子密码或影子组文件。
大纲¶
vipw [options]
vigr [options]
描述¶
The vipw and vigr commands edit 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).
选项¶
The options which apply to the vipw and vigr commands are:
-g, --group
-h, --help
-p, --passwd
-q, --quiet
-R, --root CHROOT_DIR
-s, --shadow
环境变量¶
VISUAL
EDITOR
文件¶
/etc/group
/etc/gshadow
/etc/passwd
/etc/shadow
参见¶
vi(1), group(5), gshadow(5) , passwd(5), , shadow(5).
2025-01-08 | shadow-utils 4.17.1 |