Linux repositories inspector
shadow-utils 4.8.1
2020-03-24
Aliases: vigr(8), vigr(8), vigr(8), vigr(8), vigr(8), vigr(8)

passwd

change and administer password and group data

shadow-utils

Utilities for managing accounts and shadow password files

util-linux

Miscellaneous system utilities for Linux

shadow

Password and account management tool suite with support for shadow files and PAM

名称

vipw, vigr - 编辑密码、组、影子密码或影子组文件。

大纲

vipw [选项]
vigr [选项]

描述

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).

选项

The options which apply to the vipw and vigr commands are:
-g, --group
编辑 group 数据库。
-h, --help
现实帮助信息并退出。
-p, --passwd
编辑 passwd 数据库。
-q, --quiet
安静模式。
-R, --root CHROOT_DIR
Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory.
-s, --shadow
编辑 shadow 或 gshadow 数据库。

环境变量

VISUAL
要使用的编辑器。
EDITOR
Editor to be used if VISUAL is not set.

文件

/etc/group
组账户信息。
/etc/gshadow
安全组账户信息。
/etc/passwd
用户账户信息。
/etc/shadow
安全用户账户信息。
⇧ Top