On Wed, Mar 01, 2000 at 06:37:01PM +0200, r00t the LiNuXeRRR wrote:
> 
> 
>       Hi,
> 
>       I want to deny user access from login with ssh. I use PAM to limit
> logins for an user/group but this works only with "login" (with telnet
> or console login). When i login with ssh it doesn't work. I want to set up
> expiry date for each user manualy (not at the creation time).

how are you limiting access with login?  are you using
/etc/security/access.conf? if so you just need to add

auth    required        pam_access.so

to /etc/pam.d/ssh (or sshd depending what ssh you use)

I would suggest using OpenSSH over the other one as its PAM support is
far better and it is likely more secure having been audited by the
OpenBSD folks.  

as for expiry: man chage 

>       Thanx,
>       Cosmin
> 

-- 
Ethan Benson

Reply via email to