WebSphere Application Server Version 6.1 Feature Pack for Web Services
             Operating Systems: i5/OS

             Personalize the table of contents and search results
This topic applies only on the i5/OS operating system.

Granting authority to a profile using the i5/OS command line

To grant authority to objects and directories in a profile, run the grtwasaut command from the Qshell command line.

About this task

To run the script, perform the following steps:

Procedure

  1. On the i5/OS command line, run the STRQSH (Start Qshell) command.
  2. On the Qshell command line, use the cd command to change to the directory that contains the script:
    cd app_server_root/bin
  3. Run the grtwasaut command:
    grtwasaut -profileName profile [ -user usrprf | -authlist authlist ]
     -dtaaut dataAuth -objaut objAuth
    where profile is the profile to which you are granting authority, usrprf is the user profile to which you are granting authority, authlist is the authorization list to which you are granting authority, dataAuth specifies the data authorities that you are granting to the user specified by the -user parameter and objAuth specifies the object authorities that you are granting to the user specified by the -user parameter. You do not need to specify both the -user and -authlist parameters, but you must specify at least one of them. For more information on the grtwasaut command and additional parameters, see the grtwasaut command article. Examples

Example

In the following example, the user profiles johndoe and jsmith are granted rwx authority to the profile devinst and the associated objects.
grtwasaut -profileName devinst -user "johndoe jsmith" -dtaaut rwx -recursive
In the following example, the user profiles johndoe and jsmith are granted rwx authority to the installedApps subdirectory and all nested objects in the installedApps subdirectory.
grtwasaut -profileName devinst -object installedApps -user "johndoe jsmith" -dtaaut rwx -recursive



In this information ...


IBM Redbooks, demos, education, and more


Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

IBM Suggests
Task topic    

Terms of Use | Feedback

Last updated: Nov 25, 2008 2:35:59 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/txml_iauthority.html