Securing $INFORMIXDIR and its subdirectories

When the $INFORMIXDIR directory is not secure, run a security script to reset directory permissions.

About this task

To secure the $INFORMIXDIR directory and its subdirectories, you can run the $INFORMIXDIR/etc/make-informixdir-secure script as user root or generate a security script to run with the onsecurity utility.

Procedure

To generate a security script:
  1. Run the following command to generate the secure.sh script: $INFORMIXIDIR/bin/onsecurity -r $INFORMIXDIR
  2. Run the secure.sh script to secure the installation path:
    • UNIX and Linux: $INFORMIXDIR/tmp/secure.sh

What to do next

Although user informix has permission to run the script, the script cannot fix the problems unless the directory is owned by user informix. The database server message indicates what still must be fixed. The script also shows files and directories under $INFORMIXDIR that belong to an unexpected owner or group or have public write permission.