Question: what is the difference between linux su and sudo?
Answer: Sudo runs a single command with root privileges. ... This is a key difference between su and sudo. Su switches you to the root user account and requires the root account's password. Sudo runs a single command with root privileges – it doesn't switch to the root user or require a separate root user password.