I've modified (in some wrong way) the file etc/sudoers
in my Mac OS X 10.6.8.
For this reason I've erased the wrong line and replaced the original file. But now whenever I type sudo commands the output is:
sudo: /etc/sudoers is owned by uid 501, should be 0
Segmentation fault
A solution could be this but when I type su
(and the password) the output is:
su: Sorry
How can I fix this problem?
I've followed these steps to enabling and using the "root" user in Mac OS X.
In this way I can use the fix posted in my question.