All files and directories contained in user's home directories must have mode 0750 or less permissive.

From AIX 6.1 SECURITY TECHNICAL IMPLEMENTATION GUIDE

Part of GEN001560

Associated with IA controls: ECLP-1

Associated with: CCI-000225

SV-915r2_rule All files and directories contained in user's home directories must have mode 0750 or less permissive.

Vulnerability discussion

Excessive permissions allow unauthorized access to user's files.

Check content

For each user in the /etc/passwd file, check for files and directories with a mode more permissive than 0750. Procedure: # find / ! -fstype nfs ! \( -name .login -o -name .cshrc -o -name .logout -o -name .profile -o -name .bash_profile -o -name .bashrc -o -name .env -o -name .dtprofile -o -name .dispatch -o -name .emacs -o -name .exrc \) \( -perm -0001 -o -perm -0002 -o -perm -0004 -o -perm -0020 -o -perm -2000 -o -perm -4000 \) -exec ls -ld {} \; If user's home directories contain files or directories more permissive than 0750, this is a finding.

Fix text

Change the mode of files and directories within user's home directories to 0750. Procedure: # chmod 0750 filename Document all changes.

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