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.
  1. Enter an OS/2 Command:
  2. Enter a REXX program.

Notes on REXX program entry:


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 ...

  1. a SUPERUSER privilege,

    and

  2. 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