What's the best way to monitor whether rsh/rcp commands are being used? I would like to verify no one is using them before I disable them in favor of ssh.
You could run find on your system for .rhost files. But another way would be to turn on system auditing (/usr/sbin/audit start). And then use the auditpr command to review the events on the system. You may need to tweak your /etc/default/audit/config file first though, in order to pick up such events.
I would definitely get on ssh as soon as possible though. Too many holes in r commands.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.