Re: Hosts.allow confusion
hi ya jon
check that your telnet daemon is called /usr/sbin/in.telnetd
grep -i telnetd /etc/inetd.conf
remember that hosts.allow is read before hosts.deny
so you can use positive or negative logic which ever file
you decide to use...
/etc/hosts.allow
----------------
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided by
# the '/usr/sbin/tcpd' server.
#
# Version: @(#)/etc/hosts.allow 1.00 05/28/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
# end of empty file
/etc/hosts.deny
---------------
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# Version: @(#)/etc/hosts.deny 1.00 05/28/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
# deny everybody telnet access except: ( use ip# is even better )
#
in.telnetd : ALL EXCEPT mydomain.com
#
ALL : ALL
#
# end of file
restart inetd....and try it....
if you do not want to muck with these files on all machines...
allow/disallow it from the firewall...
better still use ssh instead of telnet/ftp/pop3/etc/etc
have fun linuxing
alvin
On Sat, 3 Jun 2000, Jon Hughes wrote:
> I am attempting to let machiens from a certain domain
> (mydomain.com we'll call it) telnet into my machine.
> The IP Address will change each time so I know I can't
> do the simple ALL: xx.xxx.xx.x method. I've looked in
> hosts_access but the characters it indicates aren't
> showing up correctly (in Console it says type
> xxx.xxx(some character here) but that character is
> different in a terminal in X).
>
> Can anyone give me some advice on this? Thank you
>
> jon
> rubik@home.com
>
> =====
> "God, Root. What is the difference?"
> Pitr, User Friendly
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos -- now, 100 FREE prints!
> http://photos.yahoo.com
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
Reply to: