feat(bypass): allow --username/--password/--full-name for unattended runs
This commit is contained in:
+7
-1
@@ -45,7 +45,13 @@ chmod +x /tmp/runaway && /tmp/runaway bypass
|
||||
./runaway bypass
|
||||
```
|
||||
|
||||
创建临时管理员账户并压制 MDM。具体做这些事:
|
||||
创建临时管理员账户并压制 MDM。用户名和密码走交互式输入(直接回车用默认值 `Apple` / `1234`);无人值守场景可以用参数直接传入:
|
||||
|
||||
```bash
|
||||
./runaway bypass --username me --password 'hunter2!' --full-name "My Name"
|
||||
```
|
||||
|
||||
注意 `--password` 会留在 shell 历史和进程列表里,手动操作时建议还是用交互输入。具体做这些事:
|
||||
|
||||
1. 查找并挂载 macOS 数据卷
|
||||
2. 需要时解锁 FileVault(会询问密码)
|
||||
|
||||
Reference in New Issue
Block a user