.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" from: @(#)vipw.8 6.7 (Berkeley) 3/16/91
-.\" $Id: vipw.8,v 1.2 1995/03/12 01:33:13 faith Exp $
+.\" @(#)vipw.8 6.7 (Berkeley) 3/16/91
.\"
-.Dd March 16, 1991
-.Dt VIPW 8
-.Os BSD 4
-.Sh NAME
-.Nm vipw
-.Nd edit the password file
-.Sh SYNOPSIS
-.Nm vipw
-.Sh DESCRIPTION
-.Nm Vipw
+.TH VIPW "8" "September 2011" "util-linux" "System Administration"
+.SH NAME
+vipw, vigr \- edit the password or group file
+.SH SYNOPSIS
+.B vipw
+[options]
+.br
+.B vigr
+[options]
+.SH DESCRIPTION
+.B vipw
edits the password file after setting the appropriate locks,
and does any necessary processing after the password file is unlocked.
If the password file is already locked for editing by another user,
-.Nm vipw
+.B vipw
will ask you
-to try again later. The default editor for
-.Nm vipw
+to try again later. The default editor for
+.B vipw
+and
+.B vigr
is
-.Xr vi 1 .
-.Sh ENVIRONMENT
-If the following environment variable exists it will be utilized by
-.Nm vipw :
-.Bl -tag -width EDITOR
-.It Ev EDITOR
+.BR vi (1).
+.B vigr
+edits the group file in the same manner as
+.B vipw
+does the passwd file.
+.SH ENVIRONMENT
+If the following environment variable exists, it will be utilized by
+.B vipw
+and
+.BR vigr :
+.I
+.TP
+.B EDITOR
The editor specified by the string
-.Ev EDITOR
+.B EDITOR
will be invoked instead of the default editor
-.Xr vi 1 .
-.El
-.Sh SEE ALSO
-.Xr passwd 1 ,
-.Xr vi 1 ,
-.Xr passwd 5
-.Sh HISTORY
+.BR vi (1).
+.SH SEE ALSO
+.BR vi (1),
+.BR passwd (1),
+.BR flock (2),
+.BR passwd (5)
+.SH HISTORY
The
-.Nm
-command appeared in
-.Bx 4.0 .
+.B vipw
+command appeared in 4.0BSD.
+.br
+The
+.B vigr
+command appeared in Util-Linux 2.6.
+.SH AVAILABILITY
+The vigr and vipw commands are part of the util-linux package and are available from
+.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
+Linux Kernel Archive
+.UE .