1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-09 20:15:53 +02:00

adduser: add chinese translation

This commit is contained in:
hugue 2018-12-21 20:49:44 +08:00 committed by Agniva De Sarker
parent 1ce15b00a1
commit 4d0cf0f12f

View file

@ -1,23 +1,23 @@
# adduser # adduser
> User addition utility. > 添加用户的工具.
- Create a new user with a default home directory and prompt the user to set a password: - 创建一个新用户,在默认路径创建home目录,并提示用户设置密码
`adduser {{username}}` `adduser {{username}}`
- Create a new user without a home directory: - 创建一个新用户,不生成home目录:
`adduser --no-create-home {{username}}` `adduser --no-create-home {{username}}`
- Create a new user with a home directory at the specified path: - 创建一个新用户,并在指定路径下创建home目录
`adduser --home {{path/to/home}} {{username}}` `adduser --home {{path/to/home}} {{username}}`
- Create a new user with the specified shell set as the login shell: - 创建一个新用户,并指定登录shell
`adduser --shell {{path/to/shell}} {{username}}` `adduser --shell {{path/to/shell}} {{username}}`
- Create a new user belonging to the specified group: - 创建一个新用户,并指定其用户组
`adduser --ingroup {{group}} {{username}}` `adduser --ingroup {{group}} {{username}}`