Network Deployment (Distributed operating systems), v8.0 > Set up the application serving environment > Manage profiles on non-z/OS operating systems


Manage profiles for non-root users

The non-root user can receive permissions for files and directories so that the non-root user can create a profile.

This task assumes a basic familiarity with manageprofiles.sh, the Profile Management Tool, and system commands.

This task uses the following terms:

Remember: An ease-of-use limitation exists for non-root users who create profiles. Mechanisms within the Profile Management Tool that suggest unique names and port values are disabled for non-root users. The non-root user must change the default field values in the Profile Management Tool for the profile name, node name, cell name, and port assignments. Consider assigning non-root users a range of values for each of the fields. We can assign responsibility to the non-root users for adhering to their assigned value ranges and for maintaining the integrity of their own definitions.

Non-root users might typically need these tasks completed so that they can start their own application servers in development environments. For instance, an application developer might test an application on a application server in a profile assigned to that application developer.


Procedure


Results

Depending on the tasks that the installer followed, the installer has completed the following actions:

Connections to the Derby database might not work, and you might see errors like the following in the logs:

java.io.FileNotFoundException: C:\IBM\WebSphere\AppServer\derby\derby.log (Access is denied.)

This can happen when files under WAS_HOME are read-only. We can configure Derby to write its log to another location by setting the following property in the WAS_HOME/derby/derby.properties file
# This property can be set to make Derby log to System.err.  This is useful if you
# do not have write permission to the default location:
WAS_HOME/derby/derby.log derby.stream.error.field=java.lang.System.err


What to do next

Depending on the tasks that the installer completes, a non-root user can create a profile, start WAS, or do both.


Related


Assign profile ownership to a non-root user
Grant write permission for profile-related tasks
Change ownership for profile maintenance

+

Search Tips   |   Advanced Search