Granting authority to a profile using the IBM i command line using wsadmin scripting
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
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