#sudo #aix #linux #ubuntu #unix #chmod #sudoers #pkexec
[[sudo]] su - root
chmod 777 /etc/sudoers
vi /etc/sudoers
add (on the very last line of this file!!)
<username> ALL=(ALL) NOPASSWD:ALL
Save it (wq!)
And at last do
chmod 0440 /etc/sudoers
p.s.
( If you have forgotten to so that, do pkexec chmod 0440 /etc/sudoers )
( If the pkexec option doesnt work, you can try to do it with a bootable UBUNTU CD
[[SUDO in debian ubuntu]]
[[SUDO Bypass]]