CCE-91814-4Platform: cpe:/o:apple:mac_os_x:10.13 | Date: (C)2018-02-21 (M)2023-07-04 |
Prevent Users from Logging in as Root Directly
Administrator users must never log in directly as root. To assure individual accountability and prevent unauthorized access, logging in as root over a remote connection must be disabled. Administrators should only run commands as root after first authenticating with their individual user names and passwords.
Parameter:
[no/yes]
Technical Mechanism:
To check if SSH has root logins enabled, run the following command:
sudo grep ^PermitRootLogin /etc/sshd_config
If there is no result, or the result is set to 'yes', this is a finding.
CCSS Severity: | CCSS Metrics: |
CCSS Score : 7.2 | Attack Vector: NETWORK |
Exploit Score: 1.2 | Attack Complexity: LOW |
Impact Score: 5.9 | Privileges Required: HIGH |
Severity: HIGH | User Interaction: NONE |
Vector: AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | Scope: UNCHANGED |
| Confidentiality: HIGH |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:44278 |