2007-10-07 11:46:16 +00:00
|
|
|
.\"$Id: vipw.8,v 1.10 2005/04/27 08:29:36 kloczek Exp $
|
2007-10-07 11:44:44 +00:00
|
|
|
.TH VIPW 8 "26 Sep 1997"
|
|
|
|
.SH NAME
|
2007-10-07 11:46:07 +00:00
|
|
|
vipw, vigr \- edit the password, group, shadow\-password, or shadow\-group file.
|
2007-10-07 11:44:44 +00:00
|
|
|
.SH SYNOPSIS
|
2007-10-07 11:46:07 +00:00
|
|
|
\fBvipw\fR [\fB\-s\fR]
|
2007-10-07 11:44:44 +00:00
|
|
|
.br
|
2007-10-07 11:46:07 +00:00
|
|
|
\fBvigr\fR [\fB\-s\fR]
|
2007-10-07 11:44:44 +00:00
|
|
|
.SH DESCRIPTION
|
2007-10-07 11:45:23 +00:00
|
|
|
\fBvipw\fR and \fBvigr\fR will edit the files \fI/etc/passwd\fR and
|
2007-10-07 11:46:07 +00:00
|
|
|
\fI/etc/group\fR, respectively. With the \fB\-s\fR flag, they will edit the
|
2007-10-07 11:46:16 +00:00
|
|
|
shadow versions of those files, \fI/etc/shadow\fR and \fI/etc/gshadow\fR,
|
2007-10-07 11:45:23 +00:00
|
|
|
respectively. The programs will set the appropriate locks to prevent file
|
|
|
|
corruption. When looking for an editor, the programs will first try the
|
2007-10-07 11:46:16 +00:00
|
|
|
environment variable \fB$VISUAL\fR, then the environment variable
|
|
|
|
\fB$EDITOR\fR, and finally the default editor, \fBvi\fR(1).
|
2007-10-07 11:44:44 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR group (5),
|
2007-10-07 11:45:14 +00:00
|
|
|
.BR passwd (5),
|
2007-10-07 11:44:44 +00:00
|
|
|
.BR shadow (5)
|