2007-10-07 17:16:16 +05:30
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
|
|
|
|
<refentry id='vipw.8'>
|
2007-10-07 17:17:01 +05:30
|
|
|
<!-- $Id: vipw.8.xml,v 1.11 2005/10/01 15:01:46 kloczek Exp $ -->
|
2007-10-07 17:16:16 +05:30
|
|
|
<refentryinfo>
|
|
|
|
<date>26 Sep 1997</date>
|
|
|
|
</refentryinfo>
|
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>vipw</refentrytitle>
|
|
|
|
<manvolnum>8</manvolnum>
|
|
|
|
<refmiscinfo class='date'>26 Sep 1997</refmiscinfo>
|
|
|
|
</refmeta>
|
|
|
|
<refnamediv id='name'>
|
|
|
|
<refname>vipw</refname>
|
|
|
|
<refname>vigr</refname>
|
2007-10-07 17:17:01 +05:30
|
|
|
<refpurpose>
|
|
|
|
edit the password, group, shadow-password or shadow-group file.
|
2007-10-07 17:16:16 +05:30
|
|
|
</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv id='synopsis'>
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>vipw</command><arg choice='opt'>-s </arg>
|
|
|
|
</cmdsynopsis>
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>vigr</command><arg choice='opt'>-s </arg>
|
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
2007-10-07 17:17:01 +05:30
|
|
|
|
2007-10-07 17:16:16 +05:30
|
|
|
<refsect1 id='description'>
|
|
|
|
<title>DESCRIPTION</title>
|
2007-10-07 17:17:01 +05:30
|
|
|
<para>
|
|
|
|
<command>vipw</command> and <command>vigr</command> will edit the
|
2007-10-07 17:16:16 +05:30
|
|
|
files <filename>/etc/passwd</filename> and
|
|
|
|
<filename>/etc/group</filename>, respectively. With the
|
|
|
|
<option>-s</option> flag, they will edit the shadow versions of those
|
|
|
|
files, <filename>/etc/shadow</filename> and
|
|
|
|
<filename>/etc/gshadow</filename>, 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
|
2007-10-07 17:17:01 +05:30
|
|
|
<envar>$VISUAL</envar>, then the environment variable
|
|
|
|
<emphasis>$EDITOR</emphasis>, and finally the default editor,
|
|
|
|
<citerefentry><refentrytitle>vi</refentrytitle>
|
|
|
|
<manvolnum>1</manvolnum></citerefentry>.
|
2007-10-07 17:16:16 +05:30
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 id='see_also'>
|
|
|
|
<title>SEE ALSO</title>
|
2007-10-07 17:17:01 +05:30
|
|
|
<para>
|
|
|
|
<citerefentry>
|
|
|
|
<refentrytitle>group</refentrytitle><manvolnum>5</manvolnum>
|
2007-10-07 17:16:16 +05:30
|
|
|
</citerefentry>,
|
|
|
|
<citerefentry>
|
2007-10-07 17:17:01 +05:30
|
|
|
<refentrytitle>passwd</refentrytitle><manvolnum>5</manvolnum>
|
2007-10-07 17:16:16 +05:30
|
|
|
</citerefentry>,
|
|
|
|
<citerefentry>
|
2007-10-07 17:17:01 +05:30
|
|
|
<refentrytitle>shadow</refentrytitle><manvolnum>5</manvolnum>
|
|
|
|
</citerefentry>.
|
2007-10-07 17:16:16 +05:30
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|