What is the difference between su and sudo command?

What is the difference between su and sudo command?
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.
 

Tìm kiếm

Back
Top