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