Mailinglist Archive: opensuse-security (232 mails)

< Previous Next >
Re: [suse-security] Two questions about hosts.allow and sshd
  • From: Polarizer <Polarizer@xxxxxxxxxx>
  • Date: Wed, 05 Oct 2005 10:18:53 +0200
  • Message-id: <20051005081811.100A982B9@xxxxxxxxxxx>
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




< Previous Next >
This Thread
Follow Ups