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

Re: [suse-security] Two questions about hosts.allow and sshd



Simply put both ip/domain entries in your /etc/hosts and
ensure that search order in /etc/nsswitch.conf is set to
"hosts: files dns"

sshd: ALL: twist /bin/echo "Shoo!"

I think you dont want to do that. It'll revoke ssh session.
Mayby it is overlayed by an entry in hosts.allow?! Try man
sshd and search for /etc/motd to send user a message on
login.

Check too: man sshd_config (search usedns)

Hope that helps

The polarizers 2cent
http://www.codixx.de/polarizer.html




--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here