1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
5 <!-- $Id: vipw.8.xml,v 1.11 2005/10/01 15:01:46 kloczek Exp $ -->
7 <date>26 Sep 1997</date>
10 <refentrytitle>vipw</refentrytitle>
11 <manvolnum>8</manvolnum>
12 <refmiscinfo class='date'>26 Sep 1997</refmiscinfo>
14 <refnamediv id='name'>
15 <refname>vipw</refname>
16 <refname>vigr</refname>
18 edit the password, group, shadow-password or shadow-group file.
22 <refsynopsisdiv id='synopsis'>
24 <command>vipw</command><arg choice='opt'>-s </arg>
27 <command>vigr</command><arg choice='opt'>-s </arg>
31 <refsect1 id='description'>
32 <title>DESCRIPTION</title>
34 <command>vipw</command> and <command>vigr</command> will edit the
35 files <filename>/etc/passwd</filename> and
36 <filename>/etc/group</filename>, respectively. With the
37 <option>-s</option> flag, they will edit the shadow versions of those
38 files, <filename>/etc/shadow</filename> and
39 <filename>/etc/gshadow</filename>, respectively. The programs will set
40 the appropriate locks to prevent file corruption. When looking for an
41 editor, the programs will first try the environment variable
42 <envar>$VISUAL</envar>, then the environment variable
43 <emphasis>$EDITOR</emphasis>, and finally the default editor,
44 <citerefentry><refentrytitle>vi</refentrytitle>
45 <manvolnum>1</manvolnum></citerefentry>.
49 <refsect1 id='see_also'>
50 <title>SEE ALSO</title>
53 <refentrytitle>group</refentrytitle><manvolnum>5</manvolnum>
56 <refentrytitle>passwd</refentrytitle><manvolnum>5</manvolnum>
59 <refentrytitle>shadow</refentrytitle><manvolnum>5</manvolnum>