Does windows have the equivalent to unix's "tee" command? I can tell you what I'd try on unix, because I don't think COMO will capture unix SH output. ("SH" for "shell" is UV's unix equivanent to "DOS" verb for windows.)

I haven't used tee very much, but I *think* unix tee would capture stdout & stderr from all child processes that said children don't explicitly redirect.
IF that's right, I'd first try this approach for a general solution on unix:

1. replace the unix "SH" (On windows DOS) command with a wrapper that records the command that the user wants to run, then runs the user's command via "tee". Execute that via "SH.RESTRICTED"

2. Create "SH.RESTRICTED" as an R-item pointing to vanilla NEWACC SH and use a remote control subroutine to make sure we got here via your custom SH wrapper.

IF that works (I haven't tried any of it), it should automatically handle all existing SH usage already deployed in your ap. That's a unix approach; don't know windows DOS command.

Please publish your solution once you've found one.

Chuck

[email protected] wrote:
Hi all,

We are using Universe 10.2.1 to run a Life Insurance application and we use
the UV command line to carry out various database administration tasks. All
other access is via the application, where all transactions are recorded to
an audit trail. We have the auditors in at the moment and they are very
interested in having a compulsory tracing of the command line sessions
logged  as if a COMO ON was issued as the first command however I don't
know of any way to make this mandatory, i.e. not allow COMO OFF. Does any
one know any better.

Many thanks for any help.

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to