cppw
, cpgr copy with locking the given file to the password or group file
see also :
cpgr - vipw - vigr - passwd
Synopsis
cppw
[-h] [-s] password_file
cpgr [-h] [-s] group_file
add an example, a script, a trick and tips
examples
no example yet ...
... Feel free to add your own example above to help other Linux-lovers !
description
cppw and
cpgr will copy, with locking, the given file to
/etc/passwd and /etc/group, respectively. With
the -s flag, they will copy the shadow versions
of those files, /etc/shadow and /etc/gshadow,
respectively.
With the
-h flag, the commands display a short help
message and exit silently.
see also
vipw ,
vigr , group, passwd ,
shadow, gshadow
author
cppw and
cpgr were written by Stephen Frost, based on
vipw and vigr written by Guy Maor.