linux_user_group_manager
Build Linux and FreeBSD user/group administration commands from structured input, parse /etc/passwd and /etc/group files, and audit for security issues like UID 0 imposters, duplicates, and orphan groups.
Instructions
Linux User and Group Manager Command Builder. Build Linux (and FreeBSD) user/group administration command lines from a structured form, parse pasted /etc/passwd and /etc/group text, and audit that parsed state for problems such as UID 0 imposters, duplicate UIDs/GIDs, orphan primary groups, and system accounts with login shells. The generate action emits useradd / usermod / userdel / groupadd / groupmod / groupdel / chage / passwd / chpasswd (or pw on FreeBSD) command text with per-command explanations and safety warnings; use linux_command_builder instead when you need general find/grep/rsync/tar/ssh commands rather than account management. BUILDS command text only - it never executes any command and never touches the local system. Runs locally on the input you provide (read-only, non-destructive, contacts no external service) and is rate-limited (30 requests/minute for anonymous callers). Returns generated commands plus warnings and an explanation, or parsed user/group rows, or audit findings, or curated pr
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Which operation to run. generate builds command lines from input; parsePasswd/parseGroup parse pasted file text; audit cross-checks both files; presets returns the curated input presets. | generate |
| input | No | Used only when action is generate. The account specification to build commands from. | |
| text | No | Pasted /etc/passwd (action parsePasswd) or /etc/group (action parseGroup) content, one record per colon-separated line. | |
| passwd | No | /etc/passwd content for the audit action. | |
| group | No | /etc/group content for the audit action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the request succeeded. | |
| action | No | The action that was executed. | |
| result | No | Action-specific payload. generate returns commands/warnings/explanation; parsePasswd returns users; parseGroup returns groups; audit returns findings; presets returns presets. |