[Gllug] Login attempts from unspecified

Amit Muthu amuthu at venda.com
Mon Sep 20 21:39:59 UTC 2004


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

Cheers,
Amit

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list