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