200 lines
3.3 KiB
HTML
200 lines
3.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of VIPW</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>VIPW</H1>
|
|
Section: System Management Commands (8)<BR>Updated: 05/28/2020<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
vipw, vigr - edit the password, group, shadow-password or shadow-group file
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">
|
|
<B>vipw</B> [<I>options</I>]
|
|
<DT id="2">
|
|
<B>vigr</B> [<I>options</I>]
|
|
</DL>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<DD>The
|
|
<B>vipw</B>
|
|
and
|
|
<B>vigr</B>
|
|
commands edits the files
|
|
/etc/passwd
|
|
and
|
|
/etc/group, respectively. With the
|
|
<B>-s</B>
|
|
flag, they will edit the shadow versions of those files,
|
|
/etc/shadow
|
|
and
|
|
/etc/gshadow, 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
|
|
<B>$VISUAL</B>, then the environment variable
|
|
<B>$EDITOR</B>, and finally the default editor,
|
|
<B><A HREF="/cgi-bin/man/man2html?1+vi">vi</A></B>(1).
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
The options which apply to the
|
|
<B>vipw</B>
|
|
and
|
|
<B>vigr</B>
|
|
commands are:
|
|
<P>
|
|
|
|
<B>-g</B>, <B>--group</B>
|
|
<DL COMPACT><DT id="3"><DD>
|
|
Edit group database.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-h</B>, <B>--help</B>
|
|
<DL COMPACT><DT id="4"><DD>
|
|
Display help message and exit.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-p</B>, <B>--passwd</B>
|
|
<DL COMPACT><DT id="5"><DD>
|
|
Edit passwd database.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-q</B>, <B>--quiet</B>
|
|
<DL COMPACT><DT id="6"><DD>
|
|
Quiet mode.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-R</B>, <B>--root</B> <I>CHROOT_DIR</I>
|
|
<DL COMPACT><DT id="7"><DD>
|
|
Apply changes in the
|
|
<I>CHROOT_DIR</I>
|
|
directory and use the configuration files from the
|
|
<I>CHROOT_DIR</I>
|
|
directory.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-s</B>, <B>--shadow</B>
|
|
<DL COMPACT><DT id="8"><DD>
|
|
Edit shadow or gshadow database.
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>ENVIRONMENT</H2>
|
|
|
|
<P>
|
|
|
|
<B>VISUAL</B>
|
|
<DL COMPACT><DT id="9"><DD>
|
|
Editor to be used.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>EDITOR</B>
|
|
<DL COMPACT><DT id="10"><DD>
|
|
Editor to be used if
|
|
<B>VISUAL</B>
|
|
is not set.
|
|
</DL>
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<P>
|
|
|
|
/etc/group
|
|
<DL COMPACT><DT id="11"><DD>
|
|
Group account information.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
/etc/gshadow
|
|
<DL COMPACT><DT id="12"><DD>
|
|
Secure group account information.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
/etc/passwd
|
|
<DL COMPACT><DT id="13"><DD>
|
|
User account information.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
/etc/shadow
|
|
<DL COMPACT><DT id="14"><DD>
|
|
Secure user account information.
|
|
</DL>
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+vi">vi</A></B>(1),
|
|
<B><A HREF="/cgi-bin/man/man2html?5+group">group</A></B>(5),
|
|
<B><A HREF="/cgi-bin/man/man2html?5+gshadow">gshadow</A></B>(5)
|
|
,
|
|
<B><A HREF="/cgi-bin/man/man2html?5+passwd">passwd</A></B>(5), ,
|
|
<B><A HREF="/cgi-bin/man/man2html?5+shadow">shadow</A></B>(5).
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="15"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="16"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="17"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="18"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="19"><A HREF="#lbAF">ENVIRONMENT</A><DD>
|
|
<DT id="20"><A HREF="#lbAG">FILES</A><DD>
|
|
<DT id="21"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:18 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|