Hp-Ux File System Configuration

April 13, 2011

File System Configuration
Some file systems are static in nature and won’t change unless you’re doing some type of upgrade. Therefore to safeguard against unkown modifications to the files in these file systems and possible addition of trojan horses, it makes sense to mount these files systems read-only. (/usr and /opt are examples) You also want to ensure that setuid programs are not executed in a non-root file system. To do this these file systems must be mounted with the nosuid option. (/var and /home are examples). An example of a secure /etc/fstab can be found in Appendix C.
  1. ____ /usr/bin/vi /etc/fstab
  2. ____ Add ro option to /opt and /usr
  3. ____ Add nosuid to /stand, /var, /home
/usr/local by default has been configured with world-writeable permissions on all directories. Change this to a safer 755.
  1. ____ find /usr/local –type d –exec chmod 755 {} \;
Remove write group permissions for /etc/.
  1. ____ chmod –R g-w /etc

Related Posts

  • HP-UX Overview and Command Summary - page 5Printing Command Description cancel deletes print jobs from queue hppi jet admin ls -d -o f ...
  • Hp-UX User Access ControlUser Access ControlTight controls must be maintained on user’s accounts. You should only have accounts on a system that ...
  • HP-UX Patches InstallationHP-UX Patches InstallationTo track down know HP software vulnerabilities and solutions, use the HP Security Archive on ...
  • HP-UX Modification of the Boot ProcessModification of the Boot ProcessClosely review the startup scripts and identify all unnecessary services. You will then ...
  • Hp-Ux LSOF softwareLSOFThis utility is used to list files, sockets, etc opened by processes. It also gives a large amount of other related ...

No comments