su forces you to share your root password to other users whereas sudo makes it possible to execute system commands without root password. sudo lets you use your own password to execute system commands
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis