AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  SSH closing when prompted for a password change

    Posted Thu March 27, 2008 06:46 PM

    Originally posted by: SystemAdmin


    When I ssh to my IBM server and login with an account that needs a password change it closes my ssh session.

    I'll connect and it will ask for my password then it will promt me for a new password. When it prompts for a new password it complains about the user not existing and an error changing the password. Below is what I see.

    Production # ssh -l net54 localhost
    net54@localhost's password:
    Last unsuccessful login: Thu Mar 27 15:49:41 CDT 2008 on ssh from 172.23.15.123
    Last login: Thu Mar 27 17:30:04 CDT 2008 on ssh from loopback
    3004-610 You are required to change your password.
    Please choose a new one.

    *******************************************************************************
    Your password has expired; Choose a new one.
    You must change your password now.
    Changing password for "net54"
    3004-616 User "net54" does not exist.
    3004-709 Error changing password for "net54".
    Connection to localhost closed.
    What am I missing? Is there a variable in ssh_config that needs to be set. Is it a variable in /etc/security/user?
    p.s. 5200-08
    #AIX-Forum


  • 2.  Re: SSH closing when prompted for a password change

    Posted Fri March 28, 2008 03:43 AM

    Originally posted by: vinodn


    Can you tell more about this server..i realy dont remember exactly..but i have seen this in this forum itself ..have u migrated the server from older version or any other changes ...or copied the userids from someother server to this ...
    #AIX-Forum


  • 3.  Re: SSH closing when prompted for a password change

    Posted Fri March 28, 2008 08:16 AM

    Originally posted by: SystemAdmin


    I coppied the /etc/passwd file along with /etc/security/user and /etc/security/passwd. Is there other files that are needed?
    #AIX-Forum


  • 4.  Re: SSH closing when prompted for a password change

    Posted Fri March 28, 2008 05:46 PM

    Originally posted by: SystemAdmin


    Check for the option AllowUsers in /etc/ssh/sshd_config on the server. The net54 user ID needs to be listed as a permitted SSH user if this option is enabled.

    Message was edited by: DLHoffman
    #AIX-Forum