Skip to content

fix(lume): handle macOS 26 authorized-user prompt in SIP automation#2203

Merged
ddupont808 merged 1 commit into
mainfrom
fix/lume-sip-macos26-authorized-user-prompt
Jul 14, 2026
Merged

fix(lume): handle macOS 26 authorized-user prompt in SIP automation#2203
ddupont808 merged 1 commit into
mainfrom
fix/lume-sip-macos26-authorized-user-prompt

Conversation

@ddupont808

Copy link
Copy Markdown
Collaborator

Problem

lume sip off/on drives csrutil in the guest's paired Recovery over VNC. On macOS 26 (Tahoe), csrutil disable/enable changed its prompt flow: after the [y/n] confirmation it first asks for an authorized administrator username (authorized user:) and then a password, instead of going straight to enter password for user <admin>:.

The automation only matched the legacy password prompt, so on macOS 26 guests it answered [y/n] with y and then timed out:

Error: VNC driver timeout: Framebuffer for 'csrutil account prompt' did not contain expected text;
last OCR text: ... [y/n]: y authorized user: ...

Fix

Handle both prompt styles. After the [y/n] confirmation, wait for either the legacy enter password for user <admin>: prompt or the new authorized user username prompt; when the username prompt appears, type the admin user, then wait for the password prompt before entering the password. Adds 06-account-prompt / 06b-password-prompt screenshots for debugging.

Testing

Verified end-to-end on a macOS 26.4 guest: lume sip off <vm> now completes through the authorized user: → password flow and the follow-up normal boot reports System Integrity Protection status: disabled. (SIP is disabled.). Backward-compatible with older guests that use the single password prompt.

🤖 Generated with Claude Code

On macOS 26 (Tahoe), `csrutil disable`/`enable` in Recovery first prompts
for an authorized administrator username ("authorized user:") before asking
for the password, instead of going straight to "enter password for user
<admin>:". The SIP automation only matched the legacy password prompt, so on
macOS 26 guests it answered the [y/n] confirmation and then timed out waiting
for a password prompt that never appeared in that form.

Match both prompt styles: after the [y/n] confirmation, wait for either the
legacy password prompt or the new "authorized user" username prompt; when the
username prompt appears, type the admin user, then wait for the password
prompt before entering the password. Adds 06-account-prompt / 06b-password-prompt
screenshots for debugging.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

📦 Publishable packages changed

  • lume

Add release:<service> labels to auto-release on merge (+ optional bump:minor or bump:major, default is patch).
Or add no-release to skip.

@ddupont808
ddupont808 merged commit af791a3 into main Jul 14, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants