Run application servers under specific user profiles
You can run an application server under a user profile other than the default QEJBSVR user profile.
Choose an existing user profile, or create a new user profile with the Create User Profile (CRTUSRPRF) command.
The new user profile must have authority to the same objects to which QEJBSVR has authority. Specify QEJBSVR as the new profile's group profile. Run this command from the iSeries command line:
CHGUSRPRF USRPRF(profile) GRPPRF(QEJBSVR)where profile is the name of the new user profile.
(Optional) If the application server is currently running under a user profile other than QEJBSVR, run the following commands in Qshell (where product is either Base or ND, and instance is the name of your instance):
chown -R QEJBSVR /QIBM/UserData/WebAS5/product/instance cd /QIBM/ProdData/WebAS5/product/bin grtwasaut -user QEJBSVR -dtaaut RWX -objaut ALL -recursive- (Optional) If the old user profile is no longer used to run any of the servers in the instance, you can revoke the authorities that it has by running the following command:
rvkwasaut -instance instance -user profile -recursivewhere profile is the name of the old user profile.
Use iSeries Navigator to enable the user profile to run the application server.
Specify the new user profile name in the Run As User property of the application server:
- Start the WebSphere administrative console.
- In the navigation menu, expand Servers, and click Application Servers.
- In the Application Servers page, click the name of your application server.
- Under Additional Properties, click Process Definition.
- Under Additional Properties, click Process Execution.
- Enter the name of the user profile in the Run As User field.
- Click OK
- Save your configuration.
- Restart the application server.