I would like to know all the commands fired by all my users using command line, is it possible.?

1160 pts.
Tags:
Command line
IBM iSeries
Microsoft Access 2007
I keep a track of all my users when they login and logout, i have very few interactive users on my system who use command line. I would like to know all the commands fired by all my users using command line, is it possible.? This is required from an audit perspective.

Software/Hardware used:
cl400, i750,as400,v6r1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Yes, You can be able to get the Commands used by user through command line.
You will need to check the Job log of the User’s Inteactive Job.

<pre>WRKUSRJOB USER(TESTUSR) JOBTYPE(*INTERACT) </pre>

This will contain the Interactive sessions of user ‘TESTUSR’ and select the Job, for which you will need to verify the commands processed by the user.

Pradeep.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • JohnsonMumbai
    Pradeep, What u have mentioned is for users who are currently logged in. Is it possible to get the list after the user has logged out.
    1,160 pointsBadges:
    report
  • CharlieBrowne
    Change your default for the SIGNOFF command to be *LIST That will autmatically create a joblog for job
    41,430 pointsBadges:
    report
  • deepu9321
    Yeah, You could find the Job as OUTQ if the user has logged off. For getting the Joblog, you will need to provide *LIST for SIGNOFF parameter. So, that log will be automatically created when user logoff. Pradeep.
    4,290 pointsBadges:
    report
  • TomLiotta
    To audit commands, use CHGUSRAUD USRPRF( myuser ) AUDLVL(*CMD). Audited commands will appear in the system audit journal as T/CD entries. You'd normally audit users who have access to command lines. You can't limit the audit only to the "command line". All commands will be audited, even if they are in compiled programs. You can, however, report only on command-line usage by reporting T/CD entries with the 'Run from a CL program' field value of "N". Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following