All interactive users must be assigned a home directory in the /etc/passwd file.

From SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide

Part of GEN001440

Associated with: CCI-000225

SV-45010r1_rule All interactive users must be assigned a home directory in the /etc/passwd file.

Vulnerability discussion

If users do not have a valid home directory, there is no place for the storage and control of files they own.

Check content

Use pwck to verify home directory assignments are present. # pwck If any user is not assigned a home directory, this is a finding.

Fix text

Assign a home directory to any user without one. This can be accomplished using ‘/sbin/yast2 users’ > Edit > Details to modify the home directory of an existing user. Alternatively, the following command may be used: # usermod -d

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer