[Gllug] Login attempts from unspecified
Henrik Morsing
henrik at morsing.cc
Tue Sep 21 09:05:25 UTC 2004
On Mon, 20 Sep 2004, Amit Muthu wrote:
> Alain Williams wrote:
>
> > <>There have been more and more of these in recent months. You can
> > tighten up a bit
> > by putting the following line at the top of /etc/pam.d/sshd:
> >
> > auth required pam_listfile.so sense=allow item=user
> > file=/etc/ssh/sshAuthorisedUsers onerr=fail
> >
> > /etc/ssh/sshAuthorisedUsers should contain a list of users (one per
> > line) who you want to be able to login
> > using ssh. You should also do this for other services (eg ftp, imap,
> > ...) with each having it's own file.
>
> Or you can manage things using groups in the usual fashion and use
> 'AllowGroups ' in sshd_config to specify that only members of a
> particular group are permitted to log in
Yes, I've done this. I was also thinking along the lines of reporting them
to someone.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list