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

相关文章
相关标签/搜索