Operating System - HP-UX
1828630 Members
5900 Online
109983 Solutions
New Discussion

Unable to change password for User or Root

 
SOLVED
Go to solution
patrick coutinho
Frequent Advisor

Unable to change password for User or Root

Hi,

i am having a problem with an HP UX 11i server. Tried to login with a username and it popped up a message (attached below)
*********************************************
HP-UX dove B.11.11 U 9000/800 (tb)

login: ipatrick
Password:
Last successful login for ipatrick: Sun Jun 20 11:16:56 WAT-3 2004 on pts/ta
Last unsuccessful login for ipatrick: Sun Jun 20 12:13:45 WAT-3 2004 on pts/tb
Your password has expired.
Choose a new password.
Changing password for ipatrick
Old password:
Sorry.
Login aborted due to no password.

Wait for login exit: .
****************************************

Am having the same problem even when i try to login a root from the console. This system is trusted.

How do i get out of this. If possible i would like to do this without booting the server.

Please help.

Thanks in advance.

Patrick
3 REPLIES 3
Victor Fridyev
Honored Contributor

Re: Unable to change password for User or Root

Hi,

Probably you have user patrick in the local /etc/passwd and on NIS server. You have to decide which of them should change its password. For the local patric: stop nis.client and define a new password. For "NIS" patrick change the password on the NIS master and forward it by /var/yp/ypmake.
Look at /etc/nsswitch.conf on the client.

HTH
Entities are not to be multiplied beyond necessity - RTFM
Bharat Katkar
Honored Contributor
Solution

Re: Unable to change password for User or Root

Patrik,
Go thr' the attached doc.
Hope that helps.

Regards,
You need to know a lot to actually know how little you know
patrick coutinho
Frequent Advisor

Re: Unable to change password for User or Root

Thanks Bharat,

got the problem solved. For the benefit of everyone out there, in case u have setup a root password of more than 8 characters BEFORE converting to TRUSTED system, login to root using the original root password (more than 8 characters) and then when the question pops up to change password use ONLY the FIRST 8 CHARACTERS of the original password as the "original password". This will work.

This may help some one out there.

Rgds

Pat