remediation for os_policy_banner_loginwindow_enforce creates a wrongly named directory #250

Closed
opened 2026-01-19 18:29:48 +00:00 by michael · 0 comments
Owner

Originally created by @bernstei on GitHub.

The remediation script which creates the login DOD warning creates creates an rtfd directory, but names it ".rtf". 06cc0d2614/rules/os/os_policy_banner_loginwindow_enforce.yaml (L22)

This appears to be ignored by macOS unless it's actually named ".rtfd" (or I suppose it could just be a file named ".rtf", but that seems like more work to fix).

Originally created by @bernstei on GitHub. The remediation script which creates the login DOD warning creates creates an _rtfd_ directory, but names it ".rtf". https://github.com/usnistgov/macos_security/blob/06cc0d2614da5b6f478b6f1ff45b059bb7c6aa5a/rules/os/os_policy_banner_loginwindow_enforce.yaml#L22 This appears to be ignored by macOS unless it's actually named ".rtfd" (or I suppose it could just be a file named ".rtf", but that seems like more work to fix).
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: usnistgov/macos_security#250