Description:
Instructions to start a Spotfire Server service with a non root user during booting on Linux server.
Instructions:
1). Login to the 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 'spotfireserver-<version>' or 'tss-<version>' and edit it. Replace <version> with the Spotfire version. (For 14.0.5 it would be spotfireserver-14.0.5 ).
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 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.