os_policy_banner_ssh_configure Display Policy Banner at Remote Login
NIST macOS Security Compliance Project Sequoia Guidance, Revision 4.0 (be5491f)
All changes in this version
All changes in this version
Title
Display Policy Banner at Remote Login
Control
bannerText="$ODV"
test "$(cat /etc/banner)" = "$bannerText" && echo "1" || echo "0"
Discussion
Remote login service _MUST_ be configured to display a policy banner at login.
Displaying a standardized and approved use notification before granting access to the operating system ensures that users are provided with privacy and security notification verbiage that is consistent with applicable federal laws, Executive Orders, directives, policies, regulations, standards, and guidance.
System use notifications are required only for access via login interfaces with human users and are not required when such human interfaces do not exist.
Related controls
ac-8
Fix
[source,bash]
----
bannerText="$ODV"
/bin/echo "${bannerText}" > /etc/banner
----