Results 1 to 3 of 3

Thread: ssh will not let you change youur password if expired

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Beans
    9

    ssh will not let you change youur password if expired

    If my password is expired i cannot change it via ssh.

    Example:

    test@192.168.50.100's password:
    You are required to change your password immediately (root enforced)
    Connection closed by 192.168.50.100


    This is a server so this needs to work. On intrepid.

  2. #2
    Join Date
    Oct 2008
    Beans
    9

    Re: ssh will not let you change youur password if expired

    Anyone? If i cant get this fixed i'll have to use debian or centos

  3. #3
    Join Date
    Mar 2009
    Beans
    1

    Re: ssh will not let you change youur password if expired

    Hi,

    I had the same problem and could trace it down to a config problem in PAM.

    Changing
    account [success=1 default=ignore] pam_unix.so

    to
    account [success=1 new_authtok_reqd=done default=ignore] pam_unix.so

    in /etc/pam.d/common-account helped for me.

    Cheers,
    Denis

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •