1) Daemons that use xinetd are protected by hosts.deny and hosts.allow, and therefore can use them
2) The SSH RPM that ships with RHEL does _NOT_ use xinetd, and cannot use hosts.allow and hosts.deny out of the box
3) SSH can be compiled/configured to use xinetd
So to secure access to sshd you need to either:
1) Use the AllowUsers line in the sshd_config file and restart your sshd service
2) Configure sshd to go through xinetd so you can use hosts.allow and hosts.deny
Lindsay
Reuben D. Budiardja wrote:
On Wednesday 29 September 2004 11:04, Margaret Doll wrote:
Use /etc/hosts.deny and /etc/hosts.allow
hosts.allow and hosts.deny control access to other servicess too beside SSH. they also allow you to use domain name to allow access. "man hosts.allow" and 'man hosts.deny'.
RDB
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list