Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Recover from syntax errors in the sudoers file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Recover from syntax errors in the sudoers file
Authored by: macweb on Aug 25, '08 06:34:25PM

I just use BBEdit to edit sudoers and then check if all is fine by running visudo. I was having problem with syntax error. Problem for me was that examples as stated in manual do not work, at least not in 10.5.4 in my setup. I had to make aliases for every command. Using commands directy was not working.



[ Reply to This | # ]
Recover from syntax errors in the sudoers file
Authored by: macweb on Aug 25, '08 06:39:30PM

Other way would be changing permisiiones on sudoers file and editing it in whatever texteditor you want. That should work without messing with root account, restarting, ...



[ Reply to This | # ]