table of contents
VIPW(8) | Systemhanteringskommandon | VIPW(8) |
NAMN¶
vipw, vigr - redigera lösenordet, grupp, skugglösenord eller skuggruppfil
SYNOPSIS¶
vipw [flaggor]
vigr [flaggor]
BESKRIVNING¶
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).
FLAGGOR¶
Flaggorna som gäller för kommandona vipw och vigr är:
-g, --group
-h, --help
-p, --passwd
-q, --quiet
-R, --root CHROOT_DIR
-s, --shadow
ENVIRONMENT¶
VISUAL
EDITOR
FILER¶
/etc/group
/etc/gshadow
/etc/passwd
/etc/shadow
SE OCKSŶ
vi(1), group(5), gshadow(5) , passwd(5), , shadow(5).
17-05-2017 | shadow-utils 4.2 |