Hello,
I am getting the follwoing error for Red Hat Enterprise Linux Server release 6.6
sudo su -
sudo: >>> /etc/sudoers: syntax error near line 118 <<<
sudo: parse error in /etc/sudoers near line 118
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
cd /etc/sudoers.d/
-bash: cd: /etc/sudoers.d/: Permission denied
Could you help me to figure it out. As a root user am able to access but as normal user it is not allowing to sudo su - command.
vi /etc/sudoers.d/access
username ALL=(ALL) NOPASSWD: ALL
Please let me know if any additional formation required.