Difference Between su and sudo command

kumkumsharma

Administrator
Staff member
The main difference between su and sudo command is that su command needs the password of targeting account and in sudo command you need password of current user, that’s why it is safe to use sudo command as it does not share sensitive information.
 
Top