Re: ssh and expired passwords

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

 



On Wed, 27 Jun 2001, Maykel Moya wrote:

> > > Here is an interesting one:  I have an account with an expired
> > > password.  I try to login to this account via ssh.  After getting the
> > > password prompt and entering the password I get the error "Only root
> > > can specify a username," after which the connection is closed.  This
> > > does not happen if I use rlogin.  If I  un-expire the password ssh
> > > works fine.  Any ideas?
> >
> > You probably need to upgrade to a recent version of OpenSSH that does sane
> > handling of password expiry through PAM.
>
> Another interesting one. I finally implemented the chroot to certain users
> at login time. I added pam_chroot to pam.d/login and worked fine, but worked
> only with login, nor with ssh. I think ssh still have some problems with
> pam. I copied the content of pam.d/login exactly to pam.d/sshd and didn't
> work. Any suggestions?

OpenSSH does still have some problems with PAM, although they should be fairly
minor for most people.  One of these days, I'll get my act together and submit
some formal patches for those.  I can't think of anything in OpenSSH that
would interfere with pam_chroot, but I don't know how pam_chroot works.

Steve Langasek
postmodern programmer





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux