hi i am using mac osx i tried to login sudo without password i followed this tutorial and edited this code in sudoers file
chmod +w /etc/sudoers
USERNAME ALL=(ALL) NOPASSWD: ALL
chmod -w /etc/sudoers
but now when i am trying to run any script with sudo command or trying to sudo -i its giving this error
user is not in the sudoers file. This incident will be reported.
this only user am using means its root user and i tried this also
MacBook-Air:~ exepaul$ sudo chmod +w /etc/sudoers Password: exepaul is not in the sudoers file. This incident will be reported.
so please help me ;(