30 lines
778 B
Groff
30 lines
778 B
Groff
.\"$Id: vipw.8,v 1.4 2001/01/27 02:55:52 kloczek Exp $
|
|
.TH VIPW 8 "26 Sep 1997"
|
|
.SH NAME
|
|
vipw, vigr \- edit the password, group, shadow-password, or shadow-group file.
|
|
.SH SYNOPSIS
|
|
\fBvipw\fR [\fB-s\fR]
|
|
.br
|
|
\fBvigr\fR [\fB-s\fR]
|
|
.SH DESCRIPTION
|
|
.BR vipw " and " vigr
|
|
will edit the files
|
|
.IR /etc/passwd " and " /etc/group ", respectively."
|
|
With the
|
|
.B -s
|
|
flag, they will edit the shadow versions of those files,
|
|
.IR /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
|
|
.BR VISUAL ,
|
|
then the environment variable
|
|
.BR EDITOR ,
|
|
and finally the default editor,
|
|
.BR vi .
|
|
.SH "SEE ALSO"
|
|
.BR passwd (5),
|
|
.BR group (5),
|
|
.BR shadow (5)
|