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.
- If the new user and group don't already exist on your system, create the proper entries in the password and group files
- Stop urchin services with "urchinctl stop". The "urchinctl" binary is in the "bin" directory of the Urchin distribution.
- 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.
- Edit the "urchinwebd.conf.template" file in the "var" directory of
the Urchin distribtion and change the following lines:
-
User newuser
Group newgroup
- Restart Urchin services with "urchinctl start"