IBM Support

Run ELM products under a non-root user

How To


Summary

How to run Engineering Lifecycle Management(ELM) products under a non-root user after it was installed under root user in a
WebSphere Application Server environment?

Objective

To run WebSphere Application Server under a non-root user, you have to make sure all the files and folders can be accessed by both the root user and the non-root user. 

To run WebSphere Application Server as a non-root user:
1. Change owner for WebSphere Application root directory with specified user and group
chown -R was1:wasgroup /opt/WebSphere/AppServer

2. Change file permissions as the root user
chmod -R g+wr AppServer

3. Specify user and group values for the Runas User and Runas Group settings for a server
Go Process execution page of the administrative console

You must define properties in the following table.
Click Servers > Application Servers > server1 > Process Definition > Process Execution
Change all of the following values:Property Value
Run As User was1
Run As Group wasgroup
 
The following are relevant topics for reference:
https://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.base.doc/ae/tpro_manage_nonroot.html
https://www.ibm.com/support/pages/top-10-frequently-asked-questions-about-non-root-user-websphere-application-server

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCP65","label":"Rational Team Concert"},"ARM Category":[{"code":"a8m0z000000CbNJAA0","label":"Jazz Team Server->Application Servers->WebSphere"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
21 July 2020

UID

ibm16220882