cppw and cpgr
will copy, with locking, the given file to
/etc/passwd and /etc/group, respectively.
With the -s flag, they will edit 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.