Nathan Dragun wrote:
> While setting up PAM in conjunction with SSH I included the following
> line to deny access unless found in the following file:
> 
> auth    required        pam_listfile.so sense=allow onerr=fail item=user
> file=/etc/sshloginusers
> 
> Which works, sort of.
Don't use it.  sshd(8) lets you deny and allow users via
/etc/ssh/sshd_config.

Reading the daemon documentation before doing something like this is
always good idea.

Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to