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)