[Info-vax] TCPIP$RSH_RUN.LOG file
Steven Schweda
sms.antinode at gmail.com
Thu Nov 19 00:57:06 EST 2009
John Santos wrote:
> I wonder if you could run something periodically (e.g. once
> a day) that renames the directory that tcpip$rsh_run.log lives
> in, and creates a new, empty one? It should be possible to
> do this even if there are open log files in the directory.
Well, it is the user's SYS$LOGIN, so that might be
annoying.
I know nothing, but unlike with some services, where some
SYS$SYSTEM:TCPIP$xxx.COM creates the log file, and so gives
you some relatively easy access to it, the RSH receiver itself
seems to be doing it for RSH. (Perhaps because it does go
into the victim's SYS$LOGIN.)
You do seem to get SYLOGIN.COM run for an RSH job, so you
might be able to put some (highly reliable!) code into that to
do some purging and version shifting.
I have an embarrassing mess which I use for pruning
SYS$SPECIFIC:[TCPIP$SMTP]TCPIP$SMTP_LOGFILE.LOG, but I can run
that from SYS$SYSTEM:TCPIP$SMTP_RECV_RUN.COM, where some fatal
slip-up is less likely to cripple the whole system.
More information about the Info-vax
mailing list