1.91 SOL-11.1-040230

Information

The operating system must require individuals to be authenticated with an individual authenticator prior to using a group authenticator.

GROUP ID: V-216340
RULE ID: SV-216340r1016277

Allowing any user to elevate their privileges can allow them excessive control of the system tools.

Solution

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]

See Also

https://workbench.cisecurity.org/benchmarks/23765