Commit Graph
2 Commits
Author SHA1 Message Date
PhilandClaude Opus 5.5 6632729892 Mac: automatic login via launchctl asuser, checked password
bad2426 failed silently: over SSH `sysadminctl -autologin set` can't reach
the loginwindow session agent and fails with SACSetAutoLoginPassword
error:22 (rc 0), leaving autoLoginUser set without /etc/kcpassword. Per
gulasz101/homelab-2nd#178 (measured 2026-11-09), run it inside the console
user's session with `launchctl asuser <uid>`, password on stdin. It accepts
wrong passwords, so check the vault password with `dscl -authonly` first
(as brunerd's setAutoLogin.sh does). Idempotency now checks autoLoginUser
and /etc/kcpassword instead of the status text, which never matched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:39:31 -07:00
PhilandClaude Opus 5.5 bad2426896 Mac: automatic login for phil
The Mac powers back on after a power cut but stopped at the login window,
so nothing that needs a login session (dashboard, Podman VM for Hermes's
sandbox, BlueBubbles, Beeper) came back. Turn on automatic login with
sysadminctl, using phil's password from the vault. FileVault is off, so it
works unattended. User accepted the physical-access trade-off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:34:26 -07:00