What is the difference between Su and Sudo command?

What is the difference between Su and Sudo command?
Answer
Both su and sudo elevate privileges assigned to the current user. The main difference between the two is that su requires the password of the target account, while sudo requires the password of the current user. … By doing so, the current user is only granted privileged for the specified command.
 

Tìm kiếm

Back
Top