mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
Checks adding to /etc/sudoers.d directory fail on fresh 13.3 installs #183
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jmahlman on GitHub.
Originally assigned to: @robertgendler on GitHub.
Summary
/etc/sudoers.d directory is not present on a fresh 13.3 install. This causes failures with os_sudo_timeout_configure.yaml and os_sudoers_timestamp_type_configure.yaml
Steps to reproduce
Operating System version
13.3 (22E252)
Intel or Apple Silicon
Both
What is the current bug behavior?
Running the scripts results in an error about the folder not being found:
What is the expected correct behavior?
Output of checks
Possible fixes
Add a
mkdir-p /etc/sudoers.dto the fixes for the rules that use/etc/sudoers.dor another directory check.@robertgendler commented on GitHub:
Closing since this appears to be changed in 13.3.1 by Apple.