fix(lume): handle macOS 26 authorized-user prompt in SIP automation#2203
Merged
Conversation
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>
Contributor
📦 Publishable packages changed
Add |
f-trycua
approved these changes
Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
lume sip off/ondrivescsrutilin the guest's paired Recovery over VNC. On macOS 26 (Tahoe),csrutil disable/enablechanged 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 toenter password for user <admin>:.The automation only matched the legacy password prompt, so on macOS 26 guests it answered
[y/n]withyand then timed out:Fix
Handle both prompt styles. After the
[y/n]confirmation, wait for either the legacyenter password for user <admin>:prompt or the newauthorized userusername prompt; when the username prompt appears, type the admin user, then wait for the password prompt before entering the password. Adds06-account-prompt/06b-password-promptscreenshots for debugging.Testing
Verified end-to-end on a macOS 26.4 guest:
lume sip off <vm>now completes through theauthorized user:→ password flow and the follow-up normal boot reportsSystem Integrity Protection status: disabled.(SIP is disabled.). Backward-compatible with older guests that use the single password prompt.🤖 Generated with Claude Code