OS X: How to disable automatic login when FileVault is enabled
OS X Mavericks lets you disable automatic login when FileVault is enabled using one of the methods described below.
When disabling automatic login, two passwords are required while starting up:
- One password is needed to unlock the disk at the EFI Login Window.
- Another password is needed to log in at the regular Login Window.
These passwords can be the same if you are logging in as the user who unlocked the disk.
Use the following command to disable automatic login when FileVault is enabled:
sudo defaults write /Library/Preferences/com.apple.loginwindow DisableFDEAutoLogin -bool YES
Use the following command to allow automatic login when FileVault is enabled:
sudo defaults delete /Library/Preferences/com.apple.loginwindow DisableFDEAutoLogin
You can use Profile Manager to create a Custom Settings payload with the following information.
- Preference Domain: com.apple.loginwindow
- Key: DisableFDEAutoLogin
- Type: Boolean
- Value: On (checked)