-
Well that was bad
Posted on May 4th, 2006 1 commentMy Macintosh at home did a rare thing this morning and locked up. Spinning beach ball on each application, no hope but to hit the power button.
Yeah, that made things really unhappy. Macintosh reboots, goes trough the verbose startup messages(*) and never shows a login prompt or logs in (my Macintosh at home was set to autologin).
(* I am a unix geek – so I like watching the verbose startup messages:
sudo nvram boot-args='-v')Uh-oh. Do the power button salute again, maybe it’s just a transient thing. Again, no login – and I can’t get in via ssh.
So I boot into single user mode (Command+S as it boots) – run fsck per the instructions. fsck fixes something, and I run it again, everything’s kosher.
Reboot. No login.
Power off, boot into single user – mount the drive. Take a look at /var/log/system.log and /var/log/asl.log
Well, there’s the culprit:
DirectoryService[50]: Failed Authentication return is being delayed due to over five recent auth failures for username: jayoung.[Sender SecurityAgent] [PID 78] [Message Autologin user authenticated.]
[Sender com.apple.SecurityServer] [PID -1] [Message authinternal failed to authenticate user jayoung.]Somehow, the thing is completely foobar’d trying to autologin. (You’d think it’d fall back to a login screen – maybe it does eventually – I gave the thing several minutes on one of the reboots, but alas, no prompt).
I finally figured out how to delete the autologin preference from the command line in single-user mode
defaults delete /Library/Preferences/com.apple.loginwindow autoLoginUser
rm (or better, srm) /etc/kcpasswordvoila! finally a login prompt.
I’m still figuring out how to justify to myself that I can use this as an excuse to go buy a new Macintosh. It’s a very, very, very good thing that I have two conference presentations to finish and no time to go to the Apple Store and buy and install a new Macintosh before I leave for the conference.
1 responses to “Well that was bad”

-
Greetings.
I, too have been getting “Failed Authentication return is being delayed due to over five recent auth failures for username” on my Intel XServe running only AFP and Windows sharing.This note shows several times (under different user names) in the log right before services hang. Then I get a login window!
Any clue what gives? Who/what is trying to bust into my box?
-Seb
-
This work by Jason Adam Young is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States.

Seb Smith April 11th, 2007 at 14:35