Operating System - HP-UX
1825766 Members
2385 Online
109687 Solutions
New Discussion

Re: Unable to change password

 
wish_1
Frequent Advisor

Unable to change password

Dear all,

Pl. help on the following issue,

Unable to change password for OS user oracle on XXX.XX.XX.XX

ABCDE: oracle: /oracle/app/product/8.0.0 => passwd oracle
Changing password for oracle
Old password:
Last successful password change for oracle: Tue Jan 29 11:44:33 2007
Last unsuccessful password change for oracle: Tue Jan 29 11:46:37 2007


Password cannot be changed. Reason: minimum time between password changes.
ABCDE: oracle: /oracle/app/product/8.0.0 =>

Even after reset of the password this problem is coming again and again, i have seen the auth files which as follows:-

pwd
/tcb/files/auth/o

oracle:u_name=oracle:u_id#202:\
:u_pwd=Pe5GtGezEVOM6:\
:u_auditid#18:\
:u_auditflag#1:\
:u_succhg#1182251673:u_unsucchg#1183713629:u_restrict:u_pwchanger=root:\
:u_suclog#1183713619:u_suctty=tty:u_unsuclog#1183713614:u_lock@:\
:chkent:


Thax in adv.

Regds,
Wish
9 REPLIES 9
JIJ_1
Frequent Advisor

Re: Unable to change password

Hi ,

you can mannually edit :u_pwd=Pe5GtGezEVOM6:\
line and remove the encrypted passwd entry to look like this :u_pwd=:\
After doing this theh account will ask for a new passwd while logging in. Try and update the status.
JIJ_1
Frequent Advisor

Re: Unable to change password

Hi ,

you can manually edit :u_pwd=Pe5GtGezEVOM6:\
line and remove the encrypted passwd entry to look like this :u_pwd=:\
After doing this theh account will ask for a new passwd while logging in. Try and update the status.
skt_skt
Honored Contributor

Re: Unable to change password

getprpw uid and compare with a working id and fix the reason "minimum time between password changes"
Ninad_1
Honored Contributor

Re: Unable to change password

The error message clearly explains that you are not able to change the password as the minimum time between password changes has not passed. You are trying to change the password in around 2-3 mins after last password change occured for that user (oracle).
You can however modify this setting (u_minchg value in the tcb database). You can use following command to reset the valuse to 0 days,
modprpw -m mintm=0 oracle

You may also use the -v option in the command along with the above mentioned fields.
check man page for modprpw for more info.

Then try changing password for oracle.

Regards,
Ninad
Dennis Handly
Acclaimed Contributor

Re: Unable to change password

>Ninad: You are trying to change the password in around 2-3 mins after last password change

I guessed this except the dates are almost 6 months old and u_minchg wasn't printed.

Were you assuming the system clock was not set properly? Or this was an old thread?
wish_1
Frequent Advisor

Re: Unable to change password

Dear all,

The root is able to change the password.

But when the user wants to change the password he is not able to change, I am not sure but is it some with thing to do with "u_pwchanger=root"

Regds,
Wish.
SGUX
Valued Contributor

Re: Unable to change password

u_pwchanger shows who did the last pwchange.
user is prompted that the passwd is changed by root (if done so)
You can change the global security settings, or per user, via SAM to allow the user (in this case oracle) to change the password immediately. But this is the same as
/usr/lbin/modprpw -m mintm=0 oracle

wish_1
Frequent Advisor

Re: Unable to change password

Thanks a lot each and very one

the issue is solved.

Regds,
Wish
wish_1
Frequent Advisor

Re: Unable to change password

1