create_user
Creates a new system user account. Configure username, password, home directory, shell, and user/group IDs.
Instructions
Create a new system user. This is a dangerous operation and is blocked in safe mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. | |
| username | Yes | Username (lowercase letters, digits, underscores, hyphens) | |
| password | Yes | Password for the new user | |
| real_name | No | Full name or comment | |
| home_dir | No | Home directory (default: /home/username) | |
| shell | No | Login shell (default: /bin/bash) | |
| uid | No | User ID (auto-assigned if not specified) | |
| gid | No | Group ID (auto-assigned if not specified) |