Cmd Generator

adduser

Add users and groups to the system, with configurable home directories, shells, and UID/GID ranges.

adduser --system

Examples

# Create a system user
adduser --system sshd

# Create a system user with matching group and custom home
adduser --system --group --home /var/lib/sshd sshd

# Create a system user with specific shell
adduser --system --shell /usr/sbin/nologin mydaemon