[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [suse-security] Two questions about hosts.allow and sshd
For the first question -- you and many people suggested that, and it works
As for the second..I'm not trying to send a message on login (I actually
already ran across how to do THAT in man sshd while looking into this..),
I'm trying to send a quick message to users that are getting automatically
disconnected. (and no "Shoo!" isn't the actual message, it's just dummy data
I'm using in the example)
On 10/5/05, Polarizer <Polarizer@xxxxxxxxxx> wrote:
> 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
> Check too: man sshd_config (search usedns)
> Hope that helps
> The polarizers 2cent
> 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