cancel
Showing results for 
Search instead for 
Did you mean: 

Password Reset

 
Highlighted
New Member

Password Reset

Hi All,

I have to reset a password for a special login, but when I try it didn't worked:

# passwd xxx

Password cannot be changed. Reason: Cannot access protected password entry.

Additionally I tried:

# /usr/lbin/modprpw -k xxx

user password file not found: xxx

Please help me out.

Many Thanks
Stefan
6 REPLIES 6
Highlighted
Esteemed Contributor

Re: Password Reset

Hi Stefan,

welcome to itrc-forum.

What system are you running?
Do you use trusted system or shadow?

What says "pwck"?

if trusted system:
is there a file
/tcb/files/auth/x/xxx ?


rgds
HGH
Highlighted
New Member

Re: Password Reset

Thanks,

it's HP-UX B.11.22 U ia64 / ia64 hp server rx2600.

It's trusted system (I think so - how can I find out, if it's really a trusted system ?) - unfortunately there is no file /tcb/files/auth/x/xxx.


# pwck --> no reply for this login

Thanks
Stefan
Highlighted
Esteemed Contributor

Re: Password Reset

Hi Stefan,

is there an entry for the user in the /etc/passwd file?

grep /etc/passwd

If so you should try running pwconv (as root) to update the secure passwd facility.

regards,

Richard
Highlighted
Honored Contributor

Re: Password Reset

Hi Stefan,


getprpw -r -m lockout xx [to extract the lockout value]

man getprpw for details

or try use through SAM.

Regards,
Rasheed Tamton.
Highlighted
New Member

Re: Password Reset

Thanks Richard,

really simple - now I was able to set the password.

Many Thanks
Stefan
Highlighted
New Member

Re: Password Reset

Thanks to Richard