K kumkumsharma Administrator Staff member Jul 29, 2022 #1 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.
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.