.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "VIPW" 8 "26 Sep 1997" "" "" .SH NAME vipw, vigr \- edit the password, group, shadow-password, or shadow-group file. .SH "SYNOPSIS" .ad l .hy 0 .HP 5 \fBvipw\fR [\-s] .ad .hy .ad l .hy 0 .HP 5 \fBvigr\fR [\-s] .ad .hy .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)