Re: hosts.allow/deny

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 10 Mar 2003 11:41:21 +0200, Lorin wrote:

> I have a little problem with the configuration of hosts.allow. If a certain
> rule matches i want a command to be executed.
> i.e.
> ---
> hosts.deny
> ALL:ALL
> ---
> hosts.allow
> fingerd:192.168.1.*:(fingerd @%h| mail -s "finger from %h" root)
> --
> The problem is that if i put a command for a specific rule tcpd doens't
> read hosts.allow and default policy in hosts.deny is applied. Which is bad.
> Can someone help me?

In hosts.deny and hosts.allow, use the true name of the server
binary. In your case, it is "in.fingerd" instead of "fingerd". Then
your entry in hosts.allow would not be ignored.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+bGoO0iMVcrivHFQRAuNIAJ0UDnT05BycbiFIqaC3H3dyKLzs5gCeLCTB
Qd0NtY2gEWVckSAqOnN7+XU=
=4xWx
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux