📜  “sudo su -” - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:03.253000             🧑  作者: Mango

代码示例1
// su-> switch user,
// su requires the root password and sudo requires your user password
// sudo su - will put you into a root environment 
// but it will ask you for your user password instead of the root password 
// once sudo has given you root privileges, su - can be executed with no password