Mac OS X 中的加密卷自动挂载
我需要在我的 Mac 上为公司源代码创建一个加密卷。 要求并不是非常严格:如果有人能以我的身份登录机器,他们就赢了,否则,他们就应该输。 有了这组要求,您就可以在登录时自动安装磁盘。
I've had a need to create an encrypted volume on my mac for the company source code. The requirements are not terribly stringent: If someone can log into the machine as me, they win, but otherwise, they should lose. With that set of requirements, you can make it so that the disk is automatically mounted at login.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请按照下列步骤操作:
如果没有您的登录凭据,其他人无法打开钥匙串(默认情况下,登录钥匙串的密码与您的帐户相同)。 在不破坏您的帐户、钥匙串或卷上的密码的情况下,任何人都无法安装该卷。
如果有人窃取您的计算机并使用 Mac OS X 安装 DVD 更改密码,您仍然受到保护,因为钥匙串密码不会更改,并且磁盘将不再自动安装。
此技术不会使您的帐户更加安全,但可以保护加密卷的内容免受绕过帐户凭据访问磁盘的技术的影响 - 例如删除磁盘(或以目标模式启动)并将其安装为外部磁盘在其他机器上驱动,或者启动单用户,或者其他什么。
Follow these steps:
No one else can open the keychain without your login credentials (by default the login keychain has the same password as your account). No one else can mount the volume without breaking either your account, keychain or the password on the volume.
If someone steals your machine and changes the password using a Mac OS X install DVD you are still protected since the keychain password will not be changed and the disk will no longer auto-mount.
This technique doesn't make your account any more secure, but protects the contents of the encrypted volume from techniques that bypass account credentials to get at the disk - such as removing the disk (or booting in target mode) and mounting it as an external drive on some other machine, or booting single-user, or what not.