The Schworak Site | Log In | Up A Level

8. System administration commands (usually only for root)

Enter a Linux command to search for:

CPPW

Section: Maintenance Commands (8)
Updated: 7 Apr 2005
Index  |  Return to Main Contents
 

NAME

cppw, cpgr - copy with locking the given file to the password or group file  

SYNOPSIS

cppw [-h] [-s] password_file
cpgr [-h] [-s] group_file

 

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(8), vigr(8), group(5), passwd(5), shadow(5), gshadow(5)  

AUTHOR

cppw and cpgr were written by Stephen Frost, based on vipw and vigr written by Guy Maor.


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

Return to Main Contents

All content on this site is copyright ©2004-2024 and is not to be reproduced without prior permission.