How to start a TIBCO Spotfire Server service with a non root user during booting on a Unix/Linux Server

How to start a TIBCO Spotfire Server service with a non root user during booting on a Unix/Linux Server

book

Article ID: KB0083541

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

Description:
Instructions to start a TIBCO Spotfire Server service with a non root user during booting on Unix/Linux Server.

Issue/Introduction

How to start a TIBCO Spotfire Server service with a non root user during booting on a Unix/Linux Server

Environment

All supported operating systems

Resolution

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.