User Management
su
Switch user or to root shell.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-09-09
Syntax
$su [USER]
Examples
$su -
$su john
Typical use cases
?
Standard usage
su --help
Note
With '-' loads the login environment of the target user.
Export