>_ linuxcommand.dev
User Management

su

Switch user or to root shell.

Syntax
$su [USER]
Examples
Examples
$su -
Examples
$su john
Typical use cases
Standard usage
su --help
Detailed Help
man su
Note With '-' loads the login environment of the target user.
Export