fix(bootstrap): all password-auth systems bootstrapped — tsys-siem done [#403]

tsys-siem verified SSHOK + SUDOOK via access-matrix probe. With this
landing, 69/70 non-excluded systems are at intended access state; the
sole remaining gap (stlp-3dscanner) is deferred to [#417]. Strip the
now-empty active-target section from bootstrap-all.sh.

💘 Generated with Crush

Assisted-by: Crush:glm-5.2
This commit is contained in:
2026-08-10 16:38:24 -05:00
parent 8e0a67fd20
commit ba54c55329
2 changed files with 10 additions and 25 deletions
+8 -22
View File
@@ -45,28 +45,14 @@ run_with_su() {
echo
}
# === REMAINING: localuser + sudo (password auth on, key not yet pushed) ===
echo "### Remaining system: tsys-siem ###"
echo
run_with_sudo tsys-siem 100.72.35.113 localuser
echo "========================================"
echo "Done. Re-run access-matrix.sh to verify."
echo "========================================"
echo
echo "CONSOLE-ONLY fallback — if tsys-siem rejects password auth"
echo "(publickey-only sshd), log in at the physical console (as root,"
echo "or localuser then sudo) and paste this ONE line:"
echo
cat <<'ONELINER'
KEY='ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIWms/uCXnjjo4KyxHBcYI2TDHe8OZ2wle6W/0hSRQLu reachableceo@ultix-streaming'; for u in root localuser subodev ultixfield; do getent passwd "$u">/dev/null||continue; H=$(getent passwd "$u"|cut -d: -f6); mkdir -p "$H/.ssh"; chmod 700 "$H/.ssh"; AK="$H/.ssh/authorized_keys"; touch "$AK"; chmod 600 "$AK"; grep -qF "$KEY" "$AK"||echo "$KEY">>"$AK"; chown -R "$u": "$H/.ssh"; done; for u in localuser subodev ultixfield; do getent passwd "$u">/dev/null&&[ -d /etc/sudoers.d ]&&{ echo "$u ALL=(ALL) NOPASSWD:ALL">/etc/sudoers.d/010-agent; chmod 440 /etc/sudoers.d/010-agent; }; done; echo DONE
ONELINER
echo
echo "========================================"
echo "Already bootstrapped (verified SUDOOK/root-ok via access-matrix):"
echo " devbox-cloudron, sectestbed-cloudron, subopi3, subopi-dev-3,"
echo " subopi-dev-4, ultix-field, pfvsvrpi (+ 60 others)"
echo "========================================"
# All password-auth-reachable systems have been bootstrapped.
# Verified state (access-matrix.sh, 2026-08-10): 69/70 non-excluded systems
# at intended access state. The only remaining NOKEY (stlp-3dscanner) is
# deferred to [#417] and requires a rename + bring-online first — out of
# scope here. Run `access-matrix.sh` to re-verify at any time.
echo "All password-auth-reachable systems are bootstrapped."
echo "Remaining gap: stlp-3dscanner (deferred to [#417])."
echo "Run access-matrix.sh to re-verify."
echo "Deferred (separate ticket):"
echo " stlp-3dscanner — rename + bring online first [#417]"
echo "========================================"