hpotar
asked on
how do we turn off rsh logging to /var/log/messages?
How do you turn off logging for rsh/rlogin/rcp? I'm running CentOS 4.4 and have "replication" running between
2 machines that automatically copies over data from one machine to another. In the process there are several
rsh command executing that are logged to /var/log/messages, making it 100's of MBs in size.
I tried blanking out log_on_success in /etc/xinetd.d/rsh and restarting xinetd. Nothing in /etc/syslog.conf, nothing that I can change in /etc/xinetd.conf.
Not sure if this is hard-coded in the rshserver... any ideas?
2 machines that automatically copies over data from one machine to another. In the process there are several
rsh command executing that are logged to /var/log/messages, making it 100's of MBs in size.
I tried blanking out log_on_success in /etc/xinetd.d/rsh and restarting xinetd. Nothing in /etc/syslog.conf, nothing that I can change in /etc/xinetd.conf.
Not sure if this is hard-coded in the rshserver... any ideas?
ASKER
Thanks Kent. Unfortunately ssh won't meet the requirements.. Any IP changes will cause key interference.
Either way, i believe they write to /var/log/messages anyway don't they?
the issue would still remain in that case..
Either way, i believe they write to /var/log/messages anyway don't they?
the issue would still remain in that case..
With sshd, you control the logging via the
SyslogFacility
LogLevel
options in /etc/ssh/sshd_config
SyslogFacility
LogLevel
options in /etc/ssh/sshd_config
ASKER
got anything for rsh?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks nopius,
I've already redirected all output of the script to other log files. I'll change the syslog daemon.
thank you all.
I've already redirected all output of the script to other log files. I'll change the syslog daemon.
thank you all.
rsh (and the other rxxx) tools are quickly dying in favor of more secure mechanisms.
Will ssh and/or scp meet your needs?
Kent