Revoke authority to an instance

You can use the rvkwasaut script in Qshell to revoke authority to objects and directories in an instance.

Authority

To run this script, your user profile must have *ALLOBJ authority.

Usage

To run the script, follow these steps:

  1. On the CL command line, run the STRQSH (Start Qshell) command.

  2. Run the cd command to change to the directory that contains the script:

    cd /QIBM/ProdData/WebASE51/ASE/bin
  3. Run the rvkwasaut script:

    rvkwasaut -instance instance -user usrprf | -authlist none

    where instance is the instance to which you want are revoking authority, usrprf is the user profile from which you are revoking authority, and authlist is the authorization list from which you are revoking authority. You do not need to specify both the -user and -authlist parameters, but you must specify at least one of them.

Syntax

The syntax of the script is:

rvkwasaut -instance instance  -user usrprf | -authlist none
 [ -object path ] [ -recursive ] [ -verbose ] [ -help ]

Parameters

The parameters of the script are:

Examples

In this example, the user profile jsmith no longer has authority to the instance devinst.

rvkwasaut -instance devinst -user jsmith -recursive

In this example, the user profile jsmith no longer has authority to the installedApps subdirectory and all nested objects in the installedApps subdirectory.

rvkwasaut -instance devinst -object installedApps -user jsmith -recursive