add new chinese translations
This commit is contained in:
20
pages.zh/common/su.md
Normal file
20
pages.zh/common/su.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# su
|
||||
|
||||
> 切换到另一个用户的 shell。
|
||||
> 更多信息:<https://manned.org/su>。
|
||||
|
||||
- 切换到超级用户(需要 root 密码):
|
||||
|
||||
`su`
|
||||
|
||||
- 切换到指定用户(需要该用户的密码):
|
||||
|
||||
`su {{用户名}}`
|
||||
|
||||
- 切换到指定用户并模拟完整的登录 shell:
|
||||
|
||||
`su - {{用户名}}`
|
||||
|
||||
- 以另一个用户的身份执行命令:
|
||||
|
||||
`su - {{用户名}} -c "{{命令}}"`
|
Reference in New Issue
Block a user