Re: hosts.allow and hosts.deny files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 02 March 2004 04:40, Uuganbat Altangerel wrote:
> hi all,
>
> How can I configure hosts.allow and hosts.deny files because I want
> to remote access via telnet from only one ip address and another ip
> address users are can`t access to server.
>
> I think this configuretion on hosts.allow and hosts.deny files.
> Plz tell me how can i configure.

Since telnet is run via xinetd you can also set up your 
/etc/xinetd.d/telnet configuration file to allow only certain IP 
addresses to connect (see "man xinetd.conf") as follows:


23:04:36 # cat /etc/xinetd.d/telnet
# default: on
# description: The telnet server serves telnet sessions; it uses \
#       unencrypted username/password pairs for authentication.
service telnet
{
        disable = no
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/in.telnetd
        log_on_failure  += USERID
        only_from       = <desired_IP_Address>
}

Regards, Mike Klinke
08:32:17 #


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux