create_user
Create a new system user with specified username, password, and optional details like home directory, shell, and user ID through Webmin administration.
Instructions
Create a new system user. This is a dangerous operation and is blocked in safe mode.
Input Schema
TableJSON 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) |