mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 00:55:33 +02:00
adduser: change token from "name" to "username"
This commit is contained in:
parent
9fd6e9cf11
commit
7329c7275f
1 changed files with 6 additions and 6 deletions
|
@ -2,22 +2,22 @@
|
|||
|
||||
> User addition utility.
|
||||
|
||||
- Create a new user with a default home directory and prompts the user to set a password:
|
||||
- Create a new user with a default home directory and prompt the user to set a password:
|
||||
|
||||
`adduser {{name}}`
|
||||
`adduser {{username}}`
|
||||
|
||||
- Create a new user without a home directory:
|
||||
|
||||
`adduser --no-create-home {{name}}`
|
||||
`adduser --no-create-home {{username}}`
|
||||
|
||||
- Create a new user with a home directory at the specified path:
|
||||
|
||||
`adduser --home {{path/to/home}} {{name}}`
|
||||
`adduser --home {{path/to/home}} {{username}}`
|
||||
|
||||
- Create a new user with the specified shell set as the login shell:
|
||||
|
||||
`adduser --shell {{path/to/shell}} {{name}}`
|
||||
`adduser --shell {{path/to/shell}} {{username}}`
|
||||
|
||||
- Create a new user belonging to the specified group:
|
||||
|
||||
`adduser --ingroup {{group}} {{name}}`
|
||||
`adduser --ingroup {{group}} {{username}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue