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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCP wrapper for rsh

Status
Not open for further replies.

ranjit

Technical User
Apr 14, 2000
131
GB
Quick question - how you I write a TCP wrapper for rsh?
 
Just download a tcp wrapper and edit the follwing files:

In the /etc/inetd.conf the following line must be edit and look like this:
shell stream tcp nowait root /usr/local/sbin/tcpd /usr/sbin/rshd

And in the file /etc/hosts.allow you can add the remote systems that may have a connection with this server, add the following line:

rshd: ALL@zc19l01-en1, ALL@zc19l02-en1, ALL@zc19l03-en1

In the file /etc/hosts.deny you can also specify the systems you don't want to make a connection...

Hope this helps.

Regards
RN
 
Thanks for your info but where can I download the tcp wrapper?

Many thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top