SU(1) sudo-rs SU(1)

su - run a shell or command as another user

su options [-] [<user> [<argument>...]]

Pass a single command to the shell with -c.
Specify the primary group
Specify a supplemental group
Show a help message.
-, -l, --login
Make the shell a login shell
Do not reset environment variables
Ignored for backwards compatibility. This version of su always creates a new pseudo-terminal if it is attached to a TTY
Do not reset the environment variables specified by the list. Multiple variables can be separated by commas
Run shell if /etc/shells allows running as that shell instead of the default shell for the user
Show the program version

sudo(8)

sudo-rs 0.2.15