macOS系统启动盘密码破解攻略揭秘

在macOS中,设置或更改启动磁盘密码的步骤如下:
1. 打开“系统偏好设置”或“系统设置”(取决于你的macOS版本)。 2. 点击“用户与群组”。 3. 在左边的侧边栏中,选择你想要设置密码的用户账户。 4. 点击右下角的锁形图标,输入你的管理员密码以进行身份验证。 5. 在弹出的窗口中,点击“更改密码”。 6. 输入你当前的用户密码,然后输入新密码两次以确认。 7. (可选)如果你想要设置密码提示,可以在相应的字段中输入。 8. 点击“更改密码”完成设置。
请注意,这些步骤可能会因不同的macOS版本而略有不同。如果你使用的是较旧的macOS版本,界面可能会有所不同。
另外,如果你是在启动时设置密码,可能需要使用命令行工具或第三方软件来实现。这通常是在更高级的情况下进行的,例如在多用户系统或需要加强安全性的环境中。

相关内容:

修改苹果硬盘密码

开机按option键,进入恢复分区,在屏幕的上方会出现一个工具栏,在上面找到实用工具,在实用工具里面找到“更改密码”,进入就可以重新设置密码

出现终端对话框在上面输入:resetpassword,回车

出现重设密码对话框,在上面选择好要更改密码的帐户

将新密码重输两遍,点“存储”按钮。

这时候会提示该账户密码已经修改成功,点好重启就行了。

===========================================

Apple 技术客服给的解决方案

重启 Mac 并进入恢复模式(开机时按住 Command+R 键)。如果内建 Recovery HD 不可用,则进入互联网恢复模式(开机时按住 Option+Command+R 键)。

打开磁盘工具。

在磁盘工具左侧列表中,选中启动磁盘的宗卷(通常名称是“Macintosh HD”,但客户可能会更改为其它名称。在这里,我们统一用 Macintosh HD 指代)。

挂载该启动磁盘的宗卷,输入密码,等待磁盘工具完成挂载。

等待启动磁盘的 Macintosh HD 宗卷挂载之后,选中它。

在磁盘工具右下角,记下 Macintosh HD 的“设备”名称(比较常见的是 disk2s1,但也可能是其它。在这里,我们统一用 disk2s1 指代)。

打开终端。

在终端中运行以下命令行(如果第6步中找到的设备名称是其它,请用实际设备名称替换以下示例中的 disk2s1):

apfs updatePreboot disk2s1

直接报这个命令没有发现

diskutil apfs updatePreboot disk2s1

上面命令可以操作完成。但是重启之后仍然没有效果

重启 Mac,查看 macOS 是否可以正常登录。如果依然遇到 Disk Password 界面,则继续后续步骤。

再次重启 Mac 进入恢复模式或者互联网恢复模式。

打开磁盘工具,选中启动磁盘的宗卷。

挂载该启动磁盘的宗卷,输入密码,等待磁盘工具完成挂载。

打开终端。

在终端中运行以下命令行(包括其中的引号;如果启动宗卷的名称是其它,请用实际的名称替换以下示例中的 Macintosh HD):

diskutil apfs updatePreboot "/Volumes/Macintosh HD" -od "/Volumes/Macintosh HD/Recovered Items/private/var/db/dslocal/nodes/Default"

上面这个命令和下面这个应该是一个意思,可以分别测试看看,可能会得到不同的报错结果。

diskutil apfs updatePreboot disk2s1 -od /Volumes/Macintosh HD/Recovered Items/private/var/db/dslocal/nodes/Default

参考下面这个:

https://developer.apple.com/forums/thread/80174

i got the same problem, but i do these steps:

1. cmd+R go to safe mode

2. go to safari by clicking get help online

3. go to this forum, and copy the commands on JohnsonYi (Dont type the commands, just copy the commands through safari)

diskutil apfs updatePreboot disk1s1 -od /Volumes/Macintosh HD/Recovered Items/private/var/db/dslocal/nodes/Default

dont forget to change ur disk

4. quit safari

5. go to terminal

6.Issue commands "diskutil apfs list" to find out the APFS volume disk name like "disk1s1".

For Macbook pro, the mount point should be "

/Volumes/Macintosh HD

"

For Macbook air, the mount point should be "/Volumes/air"


Let's suppose the APFS volume disk is "disk1s1", and you use Macbook pro(the mount point is "

/Volumes/Macintosh HD

").


7. Issue the following commands to unlock the disk

diskutil apfs unlockvolume disk1s1


8. Issue the following commands to updatePreboot for this disk

diskutil apfs updatePreboot disk1s1


9. paste the commands that u copy before from safari and dont forget to change the APFS volume disk

diskutil apfs updatePreboot disk1s1 -od /Volumes/Macintosh HD/Recovered Items/private/var/db/dslocal/nodes/Default


this is how solved error -69836, and reboot my mac. PROBLEM SOLVED!!!!!! hope these steps could help!!



关于作者: 网站小编

码农网专注IT技术教程资源分享平台,学习资源下载网站,58码农网包含计算机技术、网站程序源码下载、编程技术论坛、互联网资源下载等产品服务,提供原创、优质、完整内容的专业码农交流分享平台。

热门文章