After the new Linux configuration Telnet:
To set up /etc/seceretty ,/etc/hosts.allow and / etc / deny.
# More securetty # This file defines which devices root can log in on # These are the ttys on the physical console:. Consoletty1tty2tty3tty4tty5tty6 # These are some remote ttys, and uncommenting them might be less than fully secure: # ttyS0 # ttyS1 # ttyS2 # TTYS3 # TTYP0 # TTYP1 # TTYP2 # TTYP3 # TTYP4 # TTYP5 # TTYP6 # TTYP7PTS / 0PTS / 1PTS / 2PTS / 3 # PTS / 4 # PTS / 5 # PTS / 6 # PTS / 7
Root @ Test: / ETC
# hosts.allow this file describes the name of the hosts which area # allowed to use the local inet services, as decided by # the '/ usr / sbin / tcpd' server. # Version: @ (#) /etc/hosts.allow 1.00 05/28 / 93all: All # end of hosts.allow.
Root @ Test: / ETC
# more hosts.dey # hosts.dey this file describes the name # * not * allowed to use the local inet services, as decided # by the '/ usr / sbin / tcpd' server. # Version: @ (#) / etc / hosts.dey 1.00 05/28/93 # author: fred n. van kempen, <
Waltje@uwalt.nl.mugnet.org
# End of hosts.deny.