Requirements
Execute an OS/2 Command on the Server
Only available to SUPERUSERS, who also must have a COMMAND:xxx secret-privilege
Use this to execute an OS/2 command on the SREHTTP2.SREHTTP.ORG
server. You can either issue an OS/2 command, or submit
a REXX program -- or you can do both.
Requirements
The SREhttp/2 _COMMAND addon allows clients to issue commands to
the server machine. It's sort of a "batch telnet".
Since great mischief can be accomplished if naughty clients get access to
this add-on, _COMMAND uses SREhttp/2 dynamic passwords.
In particular, you'll need a SUPERUSER privilege and a ?COMMAND:pwd
secret privilege
Thus, to use _COMMAND you must create (in USERS.CFG) an entry with both ...
- a SUPERUSER privilege,
and
- a secret privilege of ?COMMAND:xxx
where xxx is a hard-to-guess password (that you will be asked to
provide before _COMMAND will run).
Notes
- as with the DETACH OS/2 command, you should only use this with commands
that do not require further user input.
- _COMMAND.CMD contains a further security feature: the CHECK_SECURITY parameter.
You can set this to disable _COMMAND, or to enable it only for strictly
local users. By default, _COMMAND is diabled for all users!