Commit Graph

4 Commits

Author SHA1 Message Date
Mortdecai d622cf6aef fix: chmod 600 the ssh Include file (ssh rejects group-writable config)
rsync -a preserved steel141's 664 perms; ssh on the Mac then refused
~/mac/config/ssh_homelab as an Include target, breaking all Mac-side ssh
including the backup transport. setup.sh now chmods it 600 after each rsync.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:40:58 -04:00
Mortdecai af51e0cfa3 fix: make SparkFun removal and launchd bootstrap non-fatal under set -e
networksetup -removenetworkservice fails on the sole PPP-port service and
aborted the whole run at exit 4 (before pmset/backup agent). Both it and the
GUI-domain launchctl bootstrap (flaky over SSH) are now best-effort with a
warn; the LaunchAgent plist auto-loads at next login regardless.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:36:56 -04:00
Mortdecai 39f61f48ce fix: unattended sudo via temporary NOPASSWD drop-in with triple cleanup
Piping a password into ssh -tt's pty raced and hung on the real run (worked in
a fast test, blocked for 14 min in practice). Replace with a temp
/etc/sudoers.d/mac-setup installed by _install_sudoers.sh (validated
before activation), removed on every exit path plus a 40-min on-Mac
self-destruct. setup.sh now fails fast if passwordless sudo is absent
instead of depending on a primed tty ticket.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:32:24 -04:00
Mortdecai 0d733c77e7 feat: setup.sh — preflight, homebrew, bash5 shell, hostname, Linux-feel defaults, Dock/debloat, DAW power profile
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 19:09:15 -04:00