Christopher Bort wrote:
On 02/08/06 at 07:26, Robert T Wyatt wrote:
I did a *very bad thing* when I was trying to get a startup script for
HenWen to run and I'm not sure how to recover. I changed the permissions
on /private/etc to 755 recursively (was supposed to have been a
different directory), this means that I now get a security error when
invoking sudo "/private/etc/sudoers is mode 0755, should be 0440" and
there are probably other problems I haven't discovered yet.
Have you tried running Repair Disk Permissions from Disk Utility? It may
not put everything quite back to where it was, but I expect it should fix
permissions on files in /private/etc that are installed with the OS,
including sudoers.
Hi Chris! Good question and no, booting in single-user mode and running
fsck -fy did not fix the problem until after I fixed the permissions on
the sudoers file manually. I don't know why this might be and someone
might stand up and tell me it can't be, but that was my experience this
morning. In fact, I did repair my permissions with the Disk Utility GUI,
but only after manually fixing the sudoers file in single-user mode.
Thanks for the thought though!
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users