You are not logged in.

#1 2004-06-16 11:35:52

schome1
Member
Registered: 2004-02-15
Posts: 61

hosts.allow / hosts.deny question

To get ssh working, I go into the /etc/hosts.deny and comment out the line

ALL: ALL: DENY

I noticed that there is a hosts.allow file.  How do I go about using the hosts.allow file?  How can I use both the hosts.allow and hosts.deny together?  What is the format for hosts.allow/deny?

Offline

#2 2004-06-16 12:22:42

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Re: hosts.allow / hosts.deny question

man 5 hosts_access
this is the man page, remeber to put 5 after man othervise another man page is dispalyed

Offline

#3 2004-06-16 15:37:33

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: hosts.allow / hosts.deny question

[jchu@hercules jchu]$ cat /etc/hosts.allow
#
# /etc/hosts.allow
#

sshd: ALL
smbd: ALL
nmbd: ALL

# End of file


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#4 2004-06-17 11:19:36

schome1
Member
Registered: 2004-02-15
Posts: 61

Re: hosts.allow / hosts.deny question

Thank you, that works like I had hoped.

Offline

Board footer

Powered by FluxBB