su
Linux · Users and permissions · available in the simulator
What it does
Switches to another user (substitute user).
Options and parameters
-starts the shell as a login shell with an environment similar to a real login
-c CMDpasses a single command to the shell and returns
Usage examples
susu rootsu - anasu - usuariosu -c 'id' usuario