tldr/pages/linux/adduser.md
Patrice Denis ce747d2f46
user*, group*, add*, group*: add more info links (#5738)
* user*, group*, add*, group*:add more info links

* user*, group*: remove section numbers from manned.org links

* adduser, deluser: remove en locale from info links

* Update pages.it/linux/adduser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages.it/linux/deluser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages.pt_BR/linux/adduser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages.zh/linux/adduser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages/linux/adduser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages/linux/deluser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* Update pages.ko/linux/deluser.md

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
2021-04-17 14:19:41 +02:00

732 B

adduser

User addition utility. More information: https://manpages.debian.org/latest/adduser/adduser.html.

  • 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}}

  • Add an existing user to the specified group:

adduser {{username}} {{group}}