2007-10-07 17:16:52 +05:30
. \" ** You probably do not want to edit this file directly **
. \" It was generated using the DocBook XSL Stylesheets (version 1.69.0).
. \" Instead of manually editing it, you probably should edit the DocBook XML
. \" source for it and then use the DocBook XSL Stylesheets to regenerate it.
.TH "VIPW" "8" "26 Sep 1997" "26 Sep 1997" "26 Sep 1997"
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
2007-10-07 17:16:25 +05:30
.ad l
2007-10-07 17:16:52 +05:30
.SH "NAME"
vipw, vigr \- edit the password, group, shadow\- password, or shadow\- group file.
.SH "SYNOPSIS"
2007-10-07 17:16:25 +05:30
.HP 5
\fB vipw\fR [\- s]
.HP 5
\fB vigr\fR [\- s]
.SH "DESCRIPTION"
.PP
2007-10-07 17:16:52 +05:30
\fB vipw\fR
and
\fB vigr\fR
will edit the files
\fI /etc/passwd\fR
and
\fI /etc/group\fR , respectively. With the
\fB \- s\fR
flag, they will edit the shadow versions of those files,
\fI /etc/shadow\fR
and
\fI /etc/gshadow\fR , 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
\fB $VISUAL\fR , then the environment variable
\fI $EDITOR\fR , and finally the default editor,
\fB vi\fR (1).
2007-10-07 17:14:44 +05:30
.SH "SEE ALSO"
2007-10-07 17:16:25 +05:30
.PP
2007-10-07 17:16:52 +05:30
\fB group\fR (5),
\fB passwd\fR (5),
\fB shadow\fR (5)