Forrest logo
back to the adduser tool

adduser:tldr:90d0f

adduser: Create a new user with a default home directory and prompt the user to set a password.
$ adduser ${username}
try on your machine

The command "adduser ${username}" is used to create a new user account on a Unix-like operating system. Here, "${username}" is a placeholder that should be replaced with the desired username of the new user.

When this command is run, the system will prompt for additional information about the user, such as their name, password, and other optional details. Once the required information is provided, the system will create a new user account using the specified username and assign a user ID (UID) and a group ID (GID) to the account.

The newly created user account will have its own home directory in the file system, where the user can store their personal files and settings. The account will also be assigned default configurations and privileges based on the system's user management policies.

Note: Running this command typically requires root or administrative privileges.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the adduser tool