linux 普通用户添加sudo权限chmod u+w /etc/sudoersvi /etc/sudoers, add: user ALL(ALL) ALL under root
linux 普通用户添加sudo权限
chmod u+w /etc/sudoers
vi /etc/sudoers, add: user ALL(ALL) ALL under root ALL=(ALL) ALL
chmod 0440 /etc/sudoers
linux 普通用户添加sudo权限
chmod u+w /etc/sudoers
vi /etc/sudoers, add: user ALL(ALL) ALL under root ALL=(ALL) ALL
chmod 0440 /etc/sudoers