Sep 13, 2004 #1 ranjit Technical User Apr 14, 2000 131 GB Quick question - how you I write a TCP wrapper for rsh?
Sep 13, 2004 #2 rneve MIS Oct 11, 2002 51 EU 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 Upvote 0 Downvote
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
Sep 14, 2004 Thread starter #3 ranjit Technical User Apr 14, 2000 131 GB Thanks for your info but where can I download the tcp wrapper? Many thanks. Upvote 0 Downvote