I couldn't login to any of my accounts but could do a ssh to my frozen login mac. So I opened AppDelegate.scpt (see Frobitz66) in another Mac with applescript and did all the removes line by line the script would have done on the remote session (ssh). After a final reboot, the loginwindow crashed by the following:
Oct 24 09:14:56 rmac-lan.fritz.box airportd[217]: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "?|??".
Oct 24 09:14:57 --- last message repeated 1 time ---
Oct 24 09:14:57 rmac-lan.fritz.box SecurityAgent[2790]: Failed to create agent mechanism, failing authentication!
Oct 24 09:14:57 rmac-lan.fritz.box com.apple.authd[37]: engine[2778]: error creating mechanism agent
Oct 24 09:14:57 rmac-lan.fritz.box com.apple.authd[37]: engine[2778]: evaluate returned -60008 returning errAuthorizationInternal
Oct 24 09:14:57 rmac-lan.fritz.box loginwindow[2778]: Login Window - Returned from Security Agent
Oct 24 09:14:57 rmac-lan.fritz.box UserEventAgent[2783]: Failed to copy info dictionary for bundle /System/Library/UserEventPlugins/alfUIplugin.plugin
Oct 24 09:14:57 rmac-lan.fritz.box loginwindow[2778]: ERROR | -[LoginApp performAuthPluginRequest:] | AuthorizationRef doesn't have a username. Exiting.
Oct 24 09:14:57 rmac-lan.fritz.box WindowServer[2779]: CGXRestartSessionWorkspace: session workspace exited for session 256 (on console)
Oct 24 09:14:57 rmac-lan.fritz.box WindowServer[2779]: Session 256 released (1 references)
Oct 24 09:14:57 rmac-lan.fritz.box WindowServer[2779]: Session 256 released (0 references)
Oct 24 09:14:57 rmac-lan.fritz.box WindowServer[2779]: loginwindow connection closed; closing server.
The problem is the : error creating mechanism agent and this came from the changed authorization in mavericks. Now it is in /var/run/auth.db (which is a sqlite3 DB):
security authorizationdb read system.login.console
showed a:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>class</key>
<string>evaluate-mechanisms</string>
<key>comment</key>
<string>Login mechanism based rule. Not for general use, yet.</string>
<key>created</key>
<real>404205825.35804099</real>
<key>mechanisms</key>
<array>
<string>builtin:policy-banner</string>
<string>tssc_agent:lion_login</string>
<string>builtin:login-begin</string>
<string>builtin:reset-password,privileged</string>
<string>builtin:forward-login,privileged</string>
<string>builtin:auto-login,privileged</string>
<string>builtin:authenticate,privileged</string>
<string>PKINITMechanism:auth,privileged</string>
<string>builtin:login-success</string>
<string>loginwindow:success</string>
<string>HomeDirMechanism:login,privileged</string>
<string>HomeDirMechanism:status</string>
<string>MCXMechanism:login</string>
<string>loginwindow:done</string>
</array>
<key>modified</key>
<real>404205827.82298797</real>
<key>shared</key>
<true/>
<key>tries</key>
<integer>10000</integer>
<key>version</key>
<integer>1</integer>
</dict>
</plist>
YES (0)
Note the tssc line in it which came from the truesuite software. In /System/Library/Security there is a authorization.plist which is the basis for the auth.db in /var/db. So I moved /var/db/auth.db out of the way and rebooted.
Now I'm back again.