This page last changed on Jan 31, 2010 by smaddox.

This page contains some useful information about running Crowd under Linux/UNIX:

  • Dedicated system user. For security reasons, and to keep your system administrator happy, you should probably create a dedicated non-root user to run Crowd.
  • Automatic startup. It is useful to set up Crowd to run automatically on UNIX startup.

Running Crowd as an Unprivileged User

Here is an example of some of the changes you can make to harden up the directory and file permissions for Crowd to run as a non-root user.

You will need to update the environment variables to suit your installation. This is also for use in BASH. If you are using a different shell, you might need to tweak some things.

Getting Crowd to Start Automatically

  1. Create an init.d file (for example, 'crowd.init.d') inside your {CROWD_INSTALL} directory:
  2. Create a symbolic link from /etc/init.d/crowd to the init.d file file.
Hint for Red Hat systems
On Red Hat and Red Hat-based systems such as CentOS, if you put the above script in /etc/init.d, you can create the necessary symbolic links with the chkconfig script, since all the rrequired information is in the script header.

Replace "SCRIPT_NAME" with whatever the real name of the script is.

Thank you for this information
Thank you to Matthew Block and Pete Toscano for the original comments that we based this information on.
Document generated by Confluence on Nov 30, 2010 23:54