Edit passwd, shadow and group files in Linux
For
passwd
:
vipw -p
For
shadow
:
vipw -s
For
group
:
vipw -g vigr
The commands are adding some checks to avoid bad configuration file.
Typically
vigr
is a symlink to
vipw