Grant authority to a profile

To grant authority to objects and directories in a profile, run the grtwasaut script from the Qshell command line. To run the script, follow these steps:

  1. On the OS/400 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 install_root/bin

    where install_root is /QIBM/ProdData/WebSphere/AppServer/V6/Base for WebSphere Application Server and WebSphere Application Server Express, and /QIBM/ProdData/WebSphere/AppServer/V6/ND for WebSphere Application Server Network Deployment.

  3. Run the grtwasaut script:
    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 specify at least one of them. For more information on the grtwasaut script and additional parameters, see The grtwasaut script.

Examples

In this 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 this 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