Operating System - HP-UX
1825771 Members
2320 Online
109687 Solutions
New Discussion

password issues on HP-UX...

 
jmckinzie
Super Advisor

password issues on HP-UX...

ok, I have logged in using password.old.

typed the passwd command for my user account...p to pick...changed password succuessful.

Next, I try to login again.

New password does work.....old password does.

However, when i type passwd again, it requires the new password.

Any ideas?

-jody
6 REPLIES 6
Fabien GUTIERREZ
Frequent Advisor

Re: password issues on HP-UX...

don t you have a nis system for sharing password across servers it seems like you modified the password locally but that you keep the old reference still cached
jmckinzie
Super Advisor

Re: password issues on HP-UX...

I do not have NIS.

We are using shadow passwords.

How do i remove the entry from cache?
V. Nyga
Honored Contributor

Re: password issues on HP-UX...

Hi,

could it be that you use a passwd that's very long (>8 characters)?
And the passwd is only changed at the last characters?

I don't know exactly if 8 characters are the limit, but I believe.
Try a complete different passwd ...

Volkmar

*** Say 'Thanks' with Kudos ***
Jaime Bolanos Rojas.
Honored Contributor

Re: password issues on HP-UX...

Hi Jody,

I really do not understand what the issue was, how you resolved it exactly and what is the actual problem.
You might want to explain a bit more on it.

Regards,

Jaime.
Work hard when the need comes out.
jmckinzie
Super Advisor

Re: password issues on HP-UX...

ok,

I login...type passwd to change my pasword.

Then i start a new session that prompts for my password (to authenticate).

I type in my newly changed password.....it doesn't work

Then, I type my old password and im in.

However, when i try to change my password again, it requires that i issue the changed password as my old password...IE the old one doesn't work here.

So, the question is:

Why does my new password not work for authentication but it does for the passwd command?

How can i resolve it?

Thanks in Advance,

jody
Jaime Bolanos Rojas.
Honored Contributor

Re: password issues on HP-UX...

Huh interesting!

I wouldn´t be the first time that there is a corruption on the files. Let´s try something simple let´s run the pwck to make sure that everything is fine there:
http://docs.hp.com/en/B3921-60631/pwck.1M.html

Also you could try unconverting the shadow system and then converting it back again to make sure everything is fresh and clean.

If you do that remember that when you unconvert the system "some of the aging information may be lost during the conversion; the warn and expire fields are discarded, while min, max, and lstchg are rounded from days to weeks."

Regards,

Jaime.

Work hard when the need comes out.