1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 00:17:56 +01:00
tldr/pages/common/su.md

16 lines
250 B
Markdown
Raw Normal View History

2016-01-04 03:17:33 +01:00
# su
> Switch shell to another user.
2016-01-04 03:17:33 +01:00
- Switch to superuser (admin password required):
`su`
- Switch to user {{username}} (password required):
`su {{username}}`
- Switch to user {{username}} and simulate a full login shell:
`su - {{username}}`