Operating System - HP-UX
1753830 Members
9310 Online
108806 Solutions
New Discussion юеВ

Re: cannot access protected password entry

 
hnlixm
Advisor

cannot access protected password entry

MY HP-UX Account is disabled ,so i do the follow things:
1./sbin/fsck -y
2уАБmount -a
3уАБ/usr/lbin/modprpw -k root
4уАБedit /tcb/files/auth/r/root
set
:u_pwd=:
5уАБrun #passwd

but it prompt like "cannot access protected password entry";somebody can help me ?

regards!
5 REPLIES 5
hnlixm
Advisor

Re: cannot access protected password entry

the version is B.11.23 U ia64
madhuchakkaravarthy
Trusted Contributor

Re: cannot access protected password entry

hi

check the password and group files & post that output

# /usr/sbin/pwck
# /usr/sbin/grpck

regards

MC
Anshumali
Esteemed Contributor

Re: cannot access protected password entry

I have always unconverted to un-trusted machine, recover and convert again. Have been never a fan of editing tcb files directly though...

Step 5 restart the machine
step 6: login w/o password and change

Refer for more

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1286473

Cheers!
Anshu
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
hnlixm
Advisor

Re: cannot access protected password entry

thank you all ,i have solove the problem.

i copy an other people's tcb files to root.

and edit :u_pwd=:\;and make sure there are no space.run #passwd .
hnlixm
Advisor

Re: cannot access protected password entry

thank you all