-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Automatic login disabled (macOS)" checks possibly wrong default #24415
Comments
Fleet version: v4.59.1 Web browser and operating system: N/A 💥 Actual behaviorPolicy fails 🧑💻 Steps to reproduce
🕯️ Expected behaviorPolicy passes and accurately reports whether or not the host has the profile installed, and thus whether or not the host has automatic login disabled. 🕯️ More info (optional)Per our documentation, the This built-in policy will check to see if Automatic Login is Disabled via configuration policy (profile) One of the first issues is that the profile created to disable automatic login claims to be able to do so regardless of FV status, but when I examined the contents of the profile, only the ![]() Secondly, on a host that does not have FileVault enabled, that has already configured automatic login, the profile doesn't appear to actually enforce the disable automatic login feature, even after restarting the host. Also worth noting that hosts with FileVault enabled can not configure automatic login regardless of whether or not the configuration profile is installed: The existing built-in policy will fail regardless of Automatic Login disabled profile install status. If the policy is updated to: It will pass for all hosts that have the profile installed. HOWEVER - for hosts that do not have FileVault enabled, the configuration profile doesn't actually disable automatic login, so it will be a false positive for "Automatic Login disabled" Additionally the policy using DisableFDEAutoLogin ALWAYS passes for a host that does not have FileVault enabled, regardless of whether or not the configuration profile is installed. The Policy with the updated query The only thing that seems to accurately report the setting on the host is running sysadminctl -autologin status in terminal. |
Per @jmwatts's comment above, there doesn't seem to be a straightforward fix for this policy. @mike-j-thomas @eashaw passing this to you to decide whether to remove it or update it, since policy templates will all live on the website in the future. |
The built-in "Automatic login disabled (macOS)" policy does the following query:
According to https://developer.apple.com/documentation/devicemanagement/, the checked default
com.apple.login.mcx.DisableAutoLoginClient
is applicable only when "FileVault is disabled."iMazing - the profile editor that FleetDM recommends - says the same:
The default
DisableFDEAutoLogin
is applicable only when "FileVault is enabled":As FileVault can be enforced in Fleet itself, Fleet could dynamically adjust the query. Or, users should at least be warned about this.
Fleet version: 4.59.1
The text was updated successfully, but these errors were encountered: