2.6.3 Ensure Automatic Login Is Disabled

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The automatic login feature saves a user's system access credentials and bypasses the login screen. Instead, the system automatically loads to the user's desktop screen.

Disabling automatic login decreases the likelihood of an unauthorized person gaining access to a system.

Solution

Run the following command to disable automatic login:

% /usr/bin/sudo /usr/bin/defaults delete /Library/Preferences/com.apple.loginwindow autoLoginUser

Impact:

If automatic login is not disabled, an unauthorized user could gain access to the system without supplying any credentials.

See Also

https://workbench.cisecurity.org/benchmarks/17465