![Forrest logo](/images/logo.png)
adduser:tldr:30921
adduser: Create a new user belonging to the specified group.
$ adduser --ingroup ${group} ${username}
try on your machine
The command "adduser" is used to create a new user account on a Unix-like operating system. It is often used in systems that use the adduser script rather than the useradd command.
In this specific command, "--ingroup" is an option that is followed by the name of a group. It specifies the primary group for the newly created user. The ${group} placeholder should be replaced with the desired group name.
Similarly, "${username}" is a placeholder that should be substituted with the desired username for the new user.
So, when you run this command with appropriate values, it will create a new user account with the specified ${username} and add that user to the group specified by ${group}.
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.