4.2.4 Authorization
Run NFS only as needed, apply latest patches. When creating the
/etc/exports
file, use limited access flags when possible (such
as readonly or nosuid). By using fully qualified hostnames, only the named host may
access the file system.
Device files /dev/null, /dev/tty and /dev/console should be world writable but NEVER executable. Most other device files should be unreadable and non-writable by regular users.
Always get programs from a known source. Use a checksum to verify they have not been altered.
Create minimal writable file systems (esp. system files/directories). Limit user file writes to their own directories and /tmp. Add directories for specific groups. Limit important file access to authorized personnel. Use setuid/setgid only where absolutely necessary.
Parent topic: Database Operating Environment Security