vi /etc/sudoers
找到下面的内容
## Allow root to run any commands anywhereroot ALL=(ALL) ALL
然后照样添加一个指定的用户
YourUserName ALL=(ALL) ALL
本文共 184 字,大约阅读时间需要 1 分钟。
vi /etc/sudoers
找到下面的内容
## Allow root to run any commands anywhereroot ALL=(ALL) ALL
然后照样添加一个指定的用户
YourUserName ALL=(ALL) ALL
转载于:https://my.oschina.net/sub/blog/312168