SLES-12-010112 - The SUSE operating system must use the invoking user's password for privilege escalation when using 'sudo'. - rootpw

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The sudoers security policy requires that users authenticate themselves before they can use sudo. When sudoers requires authentication, it validates the invoking user's credentials. If the rootpw, targetpw, or runaspw flags are defined and not disabled, by default the operating system will prompt the invoking user for the 'root' user password.
For more information on each of the listed configurations, reference the sudoers(5) manual page.

Solution

Define the following in the Defaults section of the /etc/sudoers file or a configuration file in the /etc/sudoers.d/ directory:
Defaults !targetpw
Defaults !rootpw
Defaults !runaspw

See Also

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

Item Details

References: CAT|II, CCI|CCI-002227, Rule-ID|SV-237604r809442_rule, STIG-ID|SLES-12-010112, Vuln-ID|V-237604

Plugin: Unix

Control ID: 475e78a470ba291cfb9db75579a23288427c0d3568bc248db75ce58860522434