mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-25 18:03:07 +03:00
16 lines
250 B
Markdown
16 lines
250 B
Markdown
# su
|
|
|
|
> Switch shell to another user.
|
|
|
|
- Switch to user {{username}} (password required):
|
|
|
|
`su {{username}}`
|
|
|
|
- Switch to superuser (admin password required):
|
|
|
|
`su`
|
|
|
|
- Switch to user {{username}} and simulate a full login shell:
|
|
|
|
`su - {{username}}`
|