tldr/pages/common/su.md
2019-01-27 01:03:57 +05:30

250 B

su

Switch shell to another user.

  • 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}}