39 lines
1.1 KiB
Groff
39 lines
1.1 KiB
Groff
.\" ** You probably do not want to edit this file directly **
|
|
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
|
|
.\" 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)
|
|
.ad l
|
|
.SH "NAME"
|
|
vipw, vigr \- edit the password, group, shadow\-password or shadow\-group file.
|
|
.SH "SYNOPSIS"
|
|
.HP 5
|
|
\fBvipw\fR [\-s]
|
|
.HP 5
|
|
\fBvigr\fR [\-s]
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
\fBvipw\fR
|
|
and
|
|
\fBvigr\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,
|
|
\fBvi\fR(1).
|
|
.SH "SEE ALSO"
|
|
.PP
|
|
\fBgroup\fR(5),
|
|
\fBpasswd\fR(5),
|
|
\fBshadow\fR(5).
|