chmod u+w /etc/sudoers
vi /etc/sudoers, add: user ALL(ALL) ALL under root ALL=(ALL) ALL
chmod 0440 /etc/sudoers
linux 普通用户添加sudo权限
猜你喜欢
转载自chembo.iteye.com/blog/1845202
今日推荐
周排行