Change FlexDeploy process user on Linux
This document applies to FlexDeploy on Tomcat and can be used to change what OS user is used to run FlexDeploy Tomcat process. This does not apply to any database processes or WebLogic servers.
Stop FlexDeploy. (StopFlexDeploy.sh)
Recursively change user and group ownership on FlexDeploy Installation Directory, Artifact Directory, Server Working Directory.
You can find the location of Artifact Directory, Server Working Directory from setenvoverride.sh or setenv.sh. See Step 6 on Manual Installation Instructions for more details.
You can run
chown -R newuser:newgroup <folder>
. This would need to run as root.
If you were using any SSH Keys for endpoint connections, regenerate them in new user's home folder and exchange with endpoints.
Login as new user and Start FlexDeploy. (StartFlexDeploy.sh)
- style