Sun GlassFish Enterprise Server v2.1.1 High Availability Administration Guide

ProcedureTo Give Node Supervisor Processes Root Privileges

  1. Log in as root.

  2. Change your working directory to HADB_install_dir/lib/server.

    The NSUP executable file is clu_nsup_srv .

  3. Set the file’s suid bit with this command:

    chmod u+s clu_nsup_srv

  4. Set the file’s ownership to root with this command:

    chown root clu_nsup_srv

    This starts the clu_nsup_srv process as root, and enables the process to give itself realtime priority.

    To avoid any security impact, the real-time priority is set immediately after the process is started and the process falls back to the effective UID once the priority has been changed. Other HADB processes run with normal priority.