{
    "content": [
        {
            "type": "text",
            "text": "# cpgr (man)\n\n## NAME\n\ncppw, cpgr - copy with locking the given file to the password or group file\n\n## SYNOPSIS\n\ncppw [-h] [-s] passwordfile\ncpgr [-h] [-s] groupfile\n\n## DESCRIPTION\n\ncppw  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\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "cpgr",
        "section": "",
        "mode": "man",
        "summary": "cppw, cpgr - copy with locking the given file to the password or group file",
        "synopsis": "cppw [-h] [-s] passwordfile\ncpgr [-h] [-s] groupfile",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}