From Red Hat Enterprise Linux 7 Security Technical Implementation Guide
Part of SRG-OS-000257-GPOS-00098
Associated with: CCI-001494 CCI-001496
Discretionary access control is weakened if a user or group has access permissions to system files and directories greater than the default.
Verify the file permissions, ownership, and group membership of system files and commands match the vendor values.
Check the default file permissions, ownership, and group membership of system files and commands with the following command:
# for i in `rpm -Va | grep '^.M' | cut -d " " -f4,5`;do for j in `rpm -qf $i`;do rpm -ql $j --dump | cut -d " " -f1,5,6,7 | grep $i;done;done
/var/log/gdm 040755 root root
/etc/audisp/audisp-remote.conf 0100640 root root
/usr/bin/passwd 0104755 root root
For each file returned, verify the current permissions, ownership, and group membership:
# ls -la
Run the following command to determine which package owns the file:
# rpm -qf
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