Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
How to start a TIBCO Spotfire Server service with a non root user during booting on a Unix/Linux Server
Solution:
Description:
Instructions to start a TIBCO Spotfire Server service with a non root user during booting on Unix/Linux Server.
Instructions:
1). Login to the Unix/Linux server with root privilege.
2). Run the command: chmod 4755 /bin/su
This command will turn on set-uid bit so that it always runs with root permissions. Otherwise, when an ordinary (non-root) user runs it, it will not have access to the password information in /etc/shadow. Contact your system administrator for more information.
3). Browse to '/etc/init.d/' directory.
4). Search for a file named 'tss-<version>' and edit it. Replace <version> with the Spotfire version. (For 6.5.2 it would be tss-6.5.2 ).
5). Initialize a variable named RUNAS in the above script file.
For example, to run the service with a user "spotfireuser", add the following line at the top of the file.
RUNAS="spotfireuser"
6). Make sure this user is the owner of the TIBCO Spotfire Server installation directory and has all required privilege to read/write/execute the installation files.
Note: In the Linux environment, port number 0-1023 are not allowed to be access by non-root users. If any of these ports are used for Spotfire, make sure that port is configured to be used by non-root user.
Comments
0 comments
Article is closed for comments.