The su command

run a command with substitute user and group ID 2 examples from the lessons of the IVski Linux Playground — try them in the terminal next to them.

Examples

su -

Switch to root (requires root password)

su username

Switch to another user

Lessons that use su