OL07-00-020020 - The Oracle Linux operating system must prevent nonprivileged users from executing privileged functions to include disabling, circumventing, or altering implemented security safeguards/countermeasures.

Information

Preventing nonprivileged users from executing privileged functions mitigates the risk that unauthorized individuals or processes may gain unnecessary access to information or privileges.

Privileged functions include, for example, establishing accounts, performing system integrity checks, or administering cryptographic key management activities. Nonprivileged users are individuals who do not possess appropriate authorizations. Circumventing intrusion detection and prevention mechanisms or malicious code protection mechanisms are examples of privileged functions that require protection from nonprivileged users.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Configure the operating system to prevent nonprivileged users from executing privileged functions to include disabling, circumventing, or altering implemented security safeguards/countermeasures.

Use the following command to map a new user to the 'staff_u' SELinux user:

$ sudo semanage login -a -s staff_u <username>

Use the following command to map an existing user to the 'staff_u' SELinux user:

$ sudo semanage login -m -s staff_u <username>

Use the following command to map a new user to the 'user_u' SELinux user:

$ sudo semanage login -a -s user_u <username>

Use the following command to map an existing user to the 'user_u' SELinux user:

$ sudo semanage login -m -s user_u <username>

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_7_V2R14_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(4), 800-53|AC-6(10), CAT|II, CCI|CCI-002165, CCI|CCI-002235, Rule-ID|SV-221707r928537_rule, STIG-ID|OL07-00-020020, STIG-Legacy|SV-108257, STIG-Legacy|V-99153, Vuln-ID|V-221707

Plugin: Unix

Control ID: a0c0582de68402ab87a91cc7f5b6ba579e9241a15cd6680eee266b894e31e3d4