Running application servers under specific user profiles

We can run an application server under a user profile other than the default QEJBSVR user profile.

To change the application server default user profile:

Choose an existing user profile, or use the Create User
Profile (CRTUSRPRF) command to create a user profile. The new user profile must have authority to the same objects to which the QEJBSVR user profile has authority.

Specify QEJBSVR as the profile for the new profile group.

Issue the following command from the command line:

CHGUSRPRF USRPRF(profile) GRPPRF(QEJBSVR)

Important: If we use the enbprfwas script to enable the user profile, we do not have to issue this command. Instead specify the -chggrpprf parameter on the enbprfwas script. See Step 3 for more information about how to use the enbprfwas command

Optional: If the application server is currently
running under a user profile other than QEJBSVR, run the following commands in Qshell: