>_ linuxcommand.dev
User Management

su

Switch user or to root shell.

Ubuntu CentOS Debian Arch SUSE Slackware Alpine Fedora
Verified: 2025-09-09
Syntax
$su [BENUTZER]
Examples
$su -
$su john
Typical use cases
?
Standard usage
su --help
Note The target user's login environment is loaded with '-'.
Export