In some circumstances you may want/have to take a closer look about which commands a specific user profile is using.
The following commands allow you to log all CL commands entered by a specific user.
To audit all CL commands, a specific user is using the following steps below:
- Use command CHGUSRAUD USRPRF(USERNAME) AUDLVL(*CMD)
- Up to now, all CL commands this user is entering are written to the audit journal QAUDJRN
- To see all of the commands (and some more details such as date, time and program) use command DSPJRN JRN(QAUDJRN) ENTTYP(CD)
- To end the logging use command:
CHGUSRAUD USRPRF(USERNAME) AUDLVL(*NONE)
Please note: Auditing must be activated. Click here to see how to implement the system auditing.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Search400's targeted search engine: Get relevant information on security.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Check out this Search400.com Featured Topic: Top ten security tips
Visit the ITKnowledge Exchange and get answers to your security questions fast.
Dig Deeper on iSeries system and application security
CHGUSRAUD USRPRF (xxxxxxx) OBJAUD(*ALL) AUDLVL(*CMD)How can I write the CL?