Linux & Shell · Environment Variable
SHELL
su runs a command or shell with another user and group ID. Use --login for a clean login environment and --pty for an isolated terminal.
Last updated
- Since
- 2.38 for resetting the listed process resource limits
Syntax
su [options] [ - ] [ user | UID [ argument ...]]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
runuser(1)setpriv(1)login.defs(5)shells(5)pam(8)