2007-10-07 11:47:33 +00:00
. \" Title: vipw
. \" Author:
. \" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
2007-10-07 11:47:57 +00:00
. \" Date: 07/30/2006
2007-10-07 11:47:33 +00:00
. \" Manual: System Management Commands
. \" Source: System Management Commands
. \"
2007-10-07 11:47:57 +00:00
.TH "VIPW" "8" "07/30/2006" "System Management Commands" "System Management Commands"
2007-10-07 11:46:52 +00:00
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
2007-10-07 11:46:25 +00:00
.ad l
2007-10-07 11:46:52 +00:00
.SH "NAME"
2007-10-07 11:47:33 +00:00
vipw, vigr \- edit the password, group, shadow\- password or shadow\- group file
2007-10-07 11:46:52 +00:00
.SH "SYNOPSIS"
2007-10-07 11:46:25 +00:00
.HP 5
2007-10-07 11:47:57 +00:00
\fB vipw\fR [\fI options\fR ]
2007-10-07 11:46:25 +00:00
.HP 5
2007-10-07 11:47:57 +00:00
\fB vigr\fR [\fI options\fR ]
2007-10-07 11:46:25 +00:00
.SH "DESCRIPTION"
.PP
2007-10-07 11:47:33 +00:00
2007-10-07 11:47:01 +00:00
\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
2007-10-07 11:47:11 +00:00
\fB $EDITOR\fR , and finally the default editor,
2007-10-07 11:46:52 +00:00
\fB vi\fR (1).
2007-10-07 11:47:11 +00:00
.SH "OPTIONS"
.PP
The options which apply to the
\fB vipw\fR
and
\fB vigr\fR
commands are:
2007-10-07 11:47:33 +00:00
.TP 3 n
2007-10-07 11:47:11 +00:00
\fB \- g\fR , \fB \- \- group\fR
Edit group database.
2007-10-07 11:47:33 +00:00
.TP 3 n
2007-10-07 11:47:11 +00:00
\fB \- h\fR , \fB \- \- help\fR
Display help message and exit.
2007-10-07 11:47:33 +00:00
.TP 3 n
2007-10-07 11:47:11 +00:00
\fB \- p\fR , \fB \- \- passwd\fR
Edit passwd database.
2007-10-07 11:47:33 +00:00
.TP 3 n
2007-10-07 11:47:11 +00:00
\fB \- q\fR , \fB \- \- quiet\fR
2007-10-07 11:47:33 +00:00
Quiet mode.
.TP 3 n
2007-10-07 11:47:11 +00:00
\fB \- s\fR , \fB \- \- shadow\fR
Edit shadow or gshadow database.
.SH "FILES"
2007-10-07 11:47:33 +00:00
.TP 3 n
2007-10-07 11:47:11 +00:00
\fI /etc/group\fR
2007-10-07 11:47:33 +00:00
Group account information.
.TP 3 n
2007-10-07 11:47:11 +00:00
\fI /etc/gshadow\fR
2007-10-07 11:47:33 +00:00
Secure group account information.
.TP 3 n
2007-10-07 11:47:11 +00:00
\fI /etc/passwd\fR
2007-10-07 11:47:33 +00:00
User account information.
.TP 3 n
2007-10-07 11:47:11 +00:00
\fI /etc/shadow\fR
2007-10-07 11:47:33 +00:00
Secure user account information.
2007-10-07 11:44:44 +00:00
.SH "SEE ALSO"
2007-10-07 11:46:25 +00:00
.PP
2007-10-07 11:47:33 +00:00
2007-10-07 11:47:11 +00:00
\fB vi\fR (1),
2007-10-07 11:47:01 +00:00
\fB group\fR (5),
2007-10-07 11:47:33 +00:00
\fB gshadow\fR (5)
\fB passwd\fR (5),
2007-10-07 11:47:01 +00:00
\fB shadow\fR (5).