Difference Between sudo and su

su command is used to login as root user on the other side sudo command just runs given command as root in the current user sessions.html

ref:: www.networkworld.com/article/332…linux

sudo:

Linux sudo命令以系統管理者的身份執行指令,也就是說,經由 sudo 所執行的指令就好像是 root 親自執行。session

使用權限:在 /etc/sudoers 中有出現的使用者。ide

相關文章
相關標籤/搜索