Skip to content

"Guest account disabled (macOS)" policy checks wrong domain #24417

@WilliamDEdwards

Description

@WilliamDEdwards
  • @noahtalerman: looks like this is a built-in policy in the UI.
    • We're getting rid of these in the UI but is it on the website too? If yes, I think we should fix it there.
    • UPDATE: @noahtalerman: Yes, it's on the website here and it's fixed 🎉

Even though our profile disabled the guest account (DisableGuestAccount = false), Fleet's built-in "Guest account disabled (macOS)" policy was failing.

The query:

SELECT 1 FROM managed_policies WHERE domain='com.apple.loginwindow' AND name='DisableGuestAccount' AND value='1' LIMIT 1;

... is incorrect. The correct domain is com.apple.MCX (source: https://developer.apple.com/documentation/devicemanagement/accounts#discussion).

Fleet version: 4.59.1

Metadata

Metadata

Assignees

Labels

#g-orchestrationOrchestration product group:help-customersCustomer success issue.bugSomething isn't working as documentedcustomer-preston~released bugThis bug was found in a stable release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions