Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to monitor r-cmds usage

Status
Not open for further replies.

jpetitt1

MIS
Sep 16, 2002
2
0
0
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top