Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Create Users - adduser Command | Online Free DevTools by Hexmos

Create new users with the adduser command. Manage user accounts, home directories, and group memberships efficiently. Free online tool, no registration required.

adduser

User addition utility. More information: https://manned.org/adduser.

  • Create a new user with a default home directory and prompt the user to set a password:

adduser {{username}}

  • Create a new user without a home directory:

adduser --no-create-home {{username}}

  • Create a new user with a home directory at the specified path:

adduser --home {{path/to/home}} {{username}}

  • Create a new user with the specified shell set as the login shell:

adduser --shell {{path/to/shell}} {{username}}

  • Create a new user belonging to the specified group:

adduser --ingroup {{group}} {{username}}

See Also