On Feb 8, 2006, at 5:42 PM, Robert T. Wyatt wrote:
Christopher Bort wrote:
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!
I'm glad the single-user-mode fix worked. Before that, you were in a
rare catch-22. To repair permissions on /etc/sudoers, you needed to
be root. But to become root, the system needed to read /etc/
sudoers. So the Disk Utility's Repair Permissions feature would not
have helped, because it needs root access to function.
Other solutions that would have worked are to boot from alternate
media (either a CD or a Firewire drive), or to boot the machine in
target disk mode and repair the permissions via another Mac.
Chris
--
Chris Dolan, Software Developer, Clotho Advanced Media Inc.
608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
vCard: http://www.chrisdolan.net/ChrisDolan.vcf
Clotho Advanced Media, Inc. - Creators of MediaLandscape Software
(http://www.media-landscape.com/) and partners in the revolutionary
Croquet project (http://www.opencroquet.org/)
-------------------------------------------------------
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