How can I run XML Canon as a "non-root" user on a Unix or Linux platform?

How can I run XML Canon as a "non-root" user on a Unix or Linux platform?

book

Article ID: KB0087564

calendar_today

Updated On:

Products Versions
TIBCO XML Canon -
Not Applicable -

Description

Resolution:
You need to modify the variable that specifies the user in the "xmlcanon.sh" script (located in the "xmlcanon/3.1/tomcat/bin" directory) to run as:
user = "nobody"  (This is the default, and the script can be started as "nobody" if that user exists on your system)

If you use another user, e.g., "tibco", make the variable:
user = "tibco"

The "xmlcanon.sh" script is used to start and stop the XML Canon server. You can run it in the foreground with the "run" argument, or in the background with the "start" argument.

The "setup.sh" script is only required to install XML Canon as a daemon, in which case "root" access would be required (to write to init.d directory etc). You do not have to run this script to run XML Canon, however. However, if you don't set it up as a daemon, you need to restart XML Canon whenever the host server is rebooted.

Issue/Introduction

How can I run XML Canon as a "non-root" user on a Unix or Linux platform?