Operating System - HP-UX
1833544 Members
2979 Online
110061 Solutions
New Discussion

Re: sshd2 - Login with account id=0 and rsh

 

sshd2 - Login with account id=0 and rsh

When the password for this accounts is expired, the following message appears :
"""
Your password has expired. You are now forced to change it.
Changing password for root
Old password:
Sorry.
sshd2[15967]: FATAL: Forced command `/usr/bin/passwd' exited uncleanly, closing connection.
""

Thanks.
Ferla
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: sshd2 - Login with account id=0 and rsh

Message is clear. The target host has an expiring root password and said password has expired. The password needs to be set on that host.

Doing so will make the error go away.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
RAC_1
Honored Contributor

Re: sshd2 - Login with account id=0 and rsh

Which ssh version?? Is direct root login allowed in sshd_config file??

Anil
There is no substitute to HARDWORK

Re: sshd2 - Login with account id=0 and rsh

F-Secure SSH 3.2.3

Direct login for root is allowed.
RAC_1
Honored Contributor

Re: sshd2 - Login with account id=0 and rsh

I think that some how Fsecure ssh client is not able to use passwd command to change the password. Also are you using the correct root password when it prompts for old password??

Anil
There is no substitute to HARDWORK

Re: sshd2 - Login with account id=0 and rsh

password is correct. If I connect whith other account(id=0) I change the password whithout problems.
The command passwd is set to 4555
RAC_1
Honored Contributor

Re: sshd2 - Login with account id=0 and rsh

IS the system trusted system?? If yes do as follows. (user telnet and other account with id=0)
/usr/lbin/getprpw -m lockout root
You should get 0000000.
(This indiocates that account is not locked)
/usr/sam/lbin/usermod.sam -F -p "" root

Hope this helps.

Anil
There is no substitute to HARDWORK

Re: sshd2 - Login with account id=0 and rsh

.