cppw (8) - Linux Man Pages
cppw: copy with locking the given file to the password or group file
cppw, cpgr - copy with locking the given file to the password or group file
SYNOPSIScppw [-h] [-s] password_file
cpgr [-h] [-s] group_file
DESCRIPTIONcppw 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.
AUTHORcppw and cpgr were written by Stephen Frost, based on vipw and vigr written by Guy Maor.