How do you use the the command line client to configure WebSphere to audit Tivoli Workload Scheduler (TWS) commands run by a user?
This document is not intended to instruct a user how to configure auditing for TWS as a whole, but rather, how to audit commands run via the command line client when using composer or conman.
In the event you need to configure access to WebSphere for users from the command line, these are points to keep in mind.
o User credentials are found in the file:
o The name of the useropts file is defined in the <TWSHome>/localopts file. For example:
$ grep USEROPTS TWS/localopts
USEROPTS = useropts_m86
$ ls -l $HOME/.TWS
-rw-rw-r-- 1 m86 m86 52 Apr 25 08:20 useropts_m86
o A useropts file includes:
USERNAME = "<user>"
PASSWORD = "ENCRYPT:<encrypted password>"
o If you want the ability to use a variable in place of a userid, it cannot be done within useropts. However, one way to accomplish auditing while keeping the same useropts file password is to remove the USERNAME from the useropts file. If the user name is missing, then the command line call will need to have the username specified. For example:
$ composer -username m86 li ws=@
$ conman "-username m86 sbf /tmp/file1;alias=file1j1"
This makes auditing possible.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.