feat(bypass): allow --username/--password/--full-name for unattended runs
CI / Bash Syntax Check (push) Successful in 3s
CI / Markdown Lint (push) Successful in 6s
CI / ShellCheck (push) Successful in 2m8s

This commit is contained in:
2026-11-09 11:07:10 +08:00
parent 59487b693e
commit d43c23135f
8 changed files with 183 additions and 34 deletions
+9 -1
View File
@@ -49,7 +49,15 @@ chmod +x /tmp/runaway && /tmp/runaway bypass
./runaway bypass
```
Creates a temporary admin account and suppresses MDM. What it does:
Creates a temporary admin account and suppresses MDM. Username and password are
prompted interactively (defaults `Apple` / `1234`); to run unattended, pass them as flags:
```bash
./runaway bypass --username me --password 'hunter2!' --full-name "My Name"
```
`--password` lands in your shell history and process list — prefer the interactive
prompt when someone might be watching. What bypass does:
1. Finds and mounts the macOS Data volume
2. Unlocks FileVault if needed (asks for password)