You can run an application server under a user profile other than the default QEJBSVR user profile.
Perform the following steps to change the application server default 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.
Note: If you plan to use the enbprfwas script to enable your user profile, you do not have to run this command. Rather, specify the -chggrpprf parameter on the enbprfwas script.
(Optional) If the application server is currently running under a user profile other than QEJBSVR, run the following commands in Qshell (where instance is the name of your instance):
chown -R QEJBSVR /QIBM/UserData/WebASE51/ASE/instance
cd /QIBM/ProdData/WebASE51/ASE/bin
grtwasaut -user QEJBSVR -dtaaut RWX -objaut ALL -recursive
rvkwasaut -instance instance -user profile -recursive
where profile is the name of the old user profile.
Perform one of the following actions to enable the user profile to run the application server.
Use the enbprfwas script. For example, run the following command:
/QIBM/ProdData/WebASE51/ASE/bin/enbprfwas -profile myProfile
where myProfile is the name of the user profile.
For more information, see The enbprfwas script in the Administration topic.
Specify the new user profile name in the Run As User property of the application server: