Ravi Sir's Cards › AWS
su vs sudo
This comparison card contrasts su and sudo. su is described as target user password. sudo is described as your own password. The card pairs su with rescue, no sudo installed, and sudo with daily admin work.
Read card text
What this card says
Password
su
Target user password.
sudo
Your own password.
Key points
Whole shell, little logging.
Per command, fully logged.
Example
su - deploy
Use when
Rescue, no sudo installed.
Daily admin work.