When telnetd is installed, telnetlogin is also installed, which is a safety wrapper around login. This modifies the sample inetd.conf file which is installed to reflect the usage of telnetlogin. I believe debian uses this by default, so it must not be too radical. Here is a diff, and I will attach the complete ebuild. Paul --- netkit-base-0.17-r5.ebuild Fri Feb 8 19:22:33 2002 +++ netkit-base-0.17-r6.ebuild Thu Apr 18 02:26:34 2002 @@ -27,6 +27,12 @@ if [ -z "`use build`" ] then + cd ${S}/etc.sample + sed -e 's:in\.telnetd$:in.telnetd -L /usr/sbin/telnetlogin:' \ + < inetd.conf > inetd.conf.new + mv inetd.conf.new inetd.conf + cd ${S} + exeopts -m 755 exeinto /usr/bin dosbin inetd/inetd
Created attachment 604 [details] modified ebuild
thanks for the contribution! Matt