tldr/pages/common/su.md

16 lines
249 B
Markdown
Raw Normal View History

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