]> granicus.if.org Git - shadow/blob - man/vipw.8.xml
084ad9822e35262464ce31857263afd457e0b192
[shadow] / man / vipw.8.xml
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">
4 <refentry id='vipw.8'>
5   <!--  $Id: vipw.8.xml,v 1.11 2005/10/01 15:01:46 kloczek Exp $  -->
6   <refentryinfo>
7     <date>26 Sep 1997</date>
8   </refentryinfo>
9   <refmeta>
10     <refentrytitle>vipw</refentrytitle>
11     <manvolnum>8</manvolnum>
12     <refmiscinfo class='date'>26 Sep 1997</refmiscinfo>
13   </refmeta>
14   <refnamediv id='name'>
15     <refname>vipw</refname>
16     <refname>vigr</refname>
17     <refpurpose>
18       edit the password, group, shadow-password or shadow-group file.
19     </refpurpose>
20   </refnamediv>
21
22   <refsynopsisdiv id='synopsis'>
23     <cmdsynopsis>
24       <command>vipw</command><arg choice='opt'>-s </arg>
25     </cmdsynopsis>
26     <cmdsynopsis>
27       <command>vigr</command><arg choice='opt'>-s </arg>
28     </cmdsynopsis>
29   </refsynopsisdiv>
30
31   <refsect1 id='description'>
32     <title>DESCRIPTION</title>
33     <para>
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>.
46     </para>
47   </refsect1>
48
49   <refsect1 id='see_also'>
50     <title>SEE ALSO</title>
51     <para>
52       <citerefentry>
53         <refentrytitle>group</refentrytitle><manvolnum>5</manvolnum>
54       </citerefentry>,
55       <citerefentry>
56         <refentrytitle>passwd</refentrytitle><manvolnum>5</manvolnum>
57       </citerefentry>,
58       <citerefentry>
59         <refentrytitle>shadow</refentrytitle><manvolnum>5</manvolnum>
60       </citerefentry>.
61     </para>
62   </refsect1>
63 </refentry>