The system must restrict the ability of users to assume excessive privileges to members of a defined group and prevent unauthorized users from accessing administrative tools.
Overview
Finding ID | Version | Rule ID | IA Controls | Severity |
V-220001 | SOL-11.1-040200 | SV-220001r958726_rule | Medium |
Description |
Allowing any user to elevate their privileges can allow them excessive control of the system tools. |
STIG | Date |
Solaris 11 X86 Security Technical Implementation Guide | 2024-11-25 |
Details
Check Text (C-21711r372694_chk) |
Verify the root user is configured as a role, rather than a normal user. # userattr type root If the command does not return the word "role", this is a finding. Verify at least one local user has been assigned the root role. # grep '[:;]roles=root[^;]*' /etc/user_attr If no lines are returned, or no users are permitted to assume the root role, this is a finding. |
Fix Text (F-21710r372695_fix) |
The root role is required. Convert the root user into a role. # usermod -K type=role root Add the root role to authorized users' logins. # usermod -R +root [username] Remove the root role from users who should not be authorized to assume it. # usermod -R -root [username] |