{
    "mode": "man",
    "parameter": "cppw",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/cppw/8/json",
    "generated": "2026-06-02T22:31:34Z",
    "synopsis": "cppw [-h] [-s] passwordfile\ncpgr [-h] [-s] groupfile",
    "sections": {
        "NAME": {
            "content": "cppw, cpgr - copy with locking the given file to the password or group file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "cppw [-h] [-s] passwordfile\ncpgr [-h] [-s] groupfile\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "cppw  and cpgr will copy, with locking, the given file to /etc/passwd and /etc/group, respec‐\ntively.  With the -s flag, they will copy the shadow versions of those files, /etc/shadow and\n/etc/gshadow, respectively.\n\nWith the -h flag, the commands display a short help message and exit silently.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "vipw(8), vigr(8), group(5), passwd(5), shadow(5), gshadow(5)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "cppw and cpgr were written by Stephen Frost, based on vipw and vigr written by Guy Maor.\n\n\n\n7 Apr 2005                                      CPPW(8)",
            "subsections": []
        }
    },
    "summary": "cppw, cpgr - copy with locking the given file to the password or group file",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "vipw",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/vipw/8/json"
        },
        {
            "name": "vigr",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/vigr/8/json"
        },
        {
            "name": "group",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/group/5/json"
        },
        {
            "name": "passwd",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/passwd/5/json"
        },
        {
            "name": "shadow",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/shadow/5/json"
        },
        {
            "name": "gshadow",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/gshadow/5/json"
        }
    ]
}