man-pages/man8/cppw.8.html
2021-03-31 01:06:50 +01:00

73 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of CPPW</TITLE>
</HEAD><BODY>
<H1>CPPW</H1>
Section: Maintenance Commands (8)<BR>Updated: 7 Apr 2005<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
cppw, cpgr - copy with locking the given file to the password or group file
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>cppw</B> [<B>-h</B>] [<B>-s</B>] password_file
<BR>
<B>cpgr</B> [<B>-h</B>] [<B>-s</B>] group_file
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>cppw</B> and <B>cpgr</B>
will copy, with locking, the given file to
<I>/etc/passwd</I> and <I>/etc/group</I>, respectively.
With the <B>-s</B> flag, they will copy the shadow versions of those files,
<I>/etc/shadow</I> and <I>/etc/gshadow</I>, respectively.
<P>
With the <B>-h</B> flag, the commands display a short help message and exit
silently.
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+vipw">vipw</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+vigr">vigr</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?5+group">group</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),
<B><A HREF="/cgi-bin/man/man2html?5+gshadow">gshadow</A></B>(5)
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>
<B>cppw</B> and <B>cpgr</B> were written by Stephen Frost, based on
<B>vipw</B> and <B>vigr</B> written by Guy Maor.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="5"><A HREF="#lbAF">AUTHOR</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:11 GMT, March 31, 2021
</BODY>
</HTML>