28 lines
805 B
Groff
28 lines
805 B
Groff
.TH CPPW 8 "7 Apr 2005"
|
|
.SH NAME
|
|
cppw, cpgr \- copy with locking the given file to the password or group file
|
|
.SH SYNOPSIS
|
|
\fBcppw\fR [\fB\-h\fR] [\fB\-s\fR] password_file
|
|
.br
|
|
\fBcpgr\fR [\fB\-h\fR] [\fB\-s\fR] group_file
|
|
|
|
.SH DESCRIPTION
|
|
.BR cppw " and " cpgr
|
|
will copy, with locking, the given file to
|
|
.IR /etc/passwd " and " /etc/group ", respectively."
|
|
With the \fB\-s\fR flag, they will copy the shadow versions of those files,
|
|
.IR /etc/shadow " and " /etc/gshadow ", respectively."
|
|
|
|
With the \fB\-h\fR flag, the commands display a short help message and exit
|
|
silently.
|
|
.SH "SEE ALSO"
|
|
.BR vipw (8),
|
|
.BR vigr (8),
|
|
.BR group (5),
|
|
.BR passwd (5),
|
|
.BR shadow (5),
|
|
.BR gshadow (5)
|
|
.SH AUTHOR
|
|
\fBcppw\fR and \fBcpgr\fR were written by Stephen Frost, based on
|
|
\fBvipw\fR and \fBvigr\fR written by Guy Maor.
|