[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Change Password when Password Expires



> > How can I setup PAM so that when a users password has expired, it prompts
> > the user to change it.
> > I modified the login program to do this, but that does no good when a
> > user logs in via ssh of telnet. I figure that the best place to make the
> > changes is in PAM.
> > Users are slow so simply warning them to change it before it expires does
> > no good.
> > Any body done this before ?
> 
> Yep.  And I can say that ssh is b0rken.  All you can do is to force
> ssh to exec /bin/passwd when password expires.  I don't have problem with
> telnet as it simply executes login.

How do you do that ?

Thanks

> Jan
> -- 
> Jan RÍkorajski            |  ALL SUSPECTS ARE GUILTY. PERIOD!
> baggins<at>mimuw.edu.pl   |  OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY?
> BOFH, type MANIAC         |                   -- TROOPS by Kevin Rubio
> 
> -- 
> To unsubscribe: mail -s unsubscribe pam-list-request@redhat.com < /dev/null
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []