1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 05:17:58 +01:00
tldr/pages/common/su.md
2016-01-13 12:04:46 +01:00

249 B

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 shel:

su - {{username}}