Re: mount to NFS server failed

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

 



sly wrote:
Damian Menscher wrote:

On Sun, 17 Jul 2005, Jeff Vian wrote:

i followed the instructions from a book, and it said the /etc/hosts.deny
should have:

portmap: ALL



well DUH,  you are trying to set up portmap for use in hosts.allow, and
here it was denied.  Deny always takes precedence over allow so of
course it was failing.



Please read man 5 hosts_access before posting incorrect information to an archived list. It doesn't help the person seeking help here, and will confuse future googlers.


so let me understand this:
- 1st is deny
- 2nd is allow overriding the deny
is it correct? or i'm just confused.

"man 5 hosts_access" says:

The access control software consults two files. The search stops at the first match:

* Access will be granted when a (daemon,client) pair matches an entry in the /etc/hosts.allow file.

* Otherwise, access will be denied when a (daemon,client) pair matches an entry in the /etc/hosts.deny file.

  * Otherwise, access will be granted.

I think that's very clear.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux