Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Print Adopting Objects (PRTADPOBJ) command allows you to print a report of the objects that adopt the special and private authorities of the specified user profile. This is a way to check for security exposures associated with program adoption.
Restrictions:
This command will print two reports for a user profile. The first report (Full Report) will contain all of the objects that adopt the authorities of the user profile. The second report (Changed Report) will contain the objects that now adopt the authorities of the user profile that did not adopt the authorities of the user profile when the PRTADPOBJ command was previously run for the user profile. If the PRTADPOBJ command was not previously run for the user profile, there will be no 'Changed Report'. If the command has been previously run for the user profile but no additional objects adopt the authorities of the user profile, then the 'Changed Report' will be printed but there will be no objects listed.
The reports will contain the following information:
Note: If there are no objects that adopt the authority of a user profile, no reports will be printed for that user. If none of the user profiles specified on the command have objects that adopt the authority of the user profiles, then there will be no reports generated.
The file QSECADPOLD in library QUSRSYS contains information from the last time the PRTADPOBJ command was run for a user profile. There is a member within the file, with the same name as the user profile, for each profile that has been previously specified on the command. System file QADPGMAD in library QSYS with format name of QSYPGMAD is the model file for the QSECADPOLD file.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
USRPRF | User profile | Generic name, name, *ALL | Required, Positional 1 |
CHGRPTONLY | Changed report only | *NO, *YES | Optional, Positional 2 |
Top |
This is a required parameter.
The name of the user profile whose adopted object information will be printed.
Top |
Specifies whether just the changed report should be printed.
Top |
PRTADPOBJ USRPRF(OURSECOFR)
This command prints both full and changed reports for the objects that adopt the special and private authorities of the user profile OURSECOFR.
Top |
*ESCAPE Messages
Top |