How Do I Change the UID (user) That Urchin Runs As on UNIX-type Platforms?

How Do I Change the UID (user) That Urchin Runs As on UNIX-type Platforms?

Changing the UID/user and/or GID/group that Urchin runs as is reasonably straightforward. You will likely need to be "root" in order to perform the operations below, so in most cases this will need to be done by your system administrator.

  1. If the new user and group don't already exist on your system, create the proper entries in the password and group files
  2. Stop urchin services with "urchinctl stop". The "urchinctl" binary is in the "bin" directory of the Urchin distribution.
  3. Do a "chown -R newuser:newgroup" on the root directory of the Urchin distribution. If you have specified alternate locations for either the "var" or "data" directories in the "urchin.conf" file, you will also need to perform this "chown" command on those directories.
  4. Edit the "urchinwebd.conf.template" file in the "var" directory of the Urchin distribtion and change the following lines:
    • User newuser
    • Group newgroup
  5. Restart Urchin services with "urchinctl start"