Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange
  3. DBMOVER Configuration File
  4. Netport Jobs
  5. PowerExchange Message Logs and Destination Overrides
  6. SMF Statistics Logging and Reporting
  7. PowerExchange Security
  8. Secure Sockets Layer Support
  9. PowerExchange Alternative Network Security
  10. PowerExchange Nonrelational SQL
  11. PowerExchange Globalization
  12. Using the PowerExchange ODBC Drivers
  13. PowerExchange Datatypes and Conversion Matrix
  14. Appendix A: DTL__CAPXTIMESTAMP Time Stamps
  15. Appendix B: PowerExchange Glossary

pwxcmd and infacmd pwx Command Authorization Examples

pwxcmd and infacmd pwx Command Authorization Examples

On Linux, UNIX, and Windows, define AUTHGROUP and USER statements in the sign-on file to authorize users to run specific pwxcmd and infacmd pwx commands.
Define statements as follows:
  • The AUTHGROUP statement authorizes users in an authorization group to issue one or more pwxcmd and infacmd pwx commands.
  • The USER statement associates one or more user IDs with an authorization group. Also, the ALLOW parameter in a USER statement specifies whether users are allowed to connect to PowerExchange.
The following statements assign user ops99 to the ADMIN authorization group, enable ops99 to connect to PowerExchange, and authorize ops99 to run all pwxcmd and infacmd pwx commands:
AUTHGROUP=(ADMIN,COMMANDS=(*)) USER=(ops99 ALLOW=Y AUTHGROUP=ADMIN)
The following statements assign users with user IDs that begin with SYS to the OPER authorization group, enable them to connect to PowerExchange, and authorize them to run specified pwxcmd and infacmd pwx commands:
AUTHGROUP=(OPER,COMMANDS=(close,closeforce,listtask,stoptask)) USER=(SYS* ALLOW=Y AUTHGROUP=OPER)
The following statements enable all users to connect to PowerExchange and to run the infacmd pwx ListTaskListener and pwxcmd listtask command:
AUTHGROUP=(BASIC,COMMANDS=(LISTTASK)) USER=(* ALLOW=Y AUTHGROUP=BASIC)