Operating System - HP-UX
1834645 Members
1998 Online
110069 Solutions
New Discussion

Re: administrator password forget

 
SOLVED
Go to solution
KAT_5
Advisor

administrator password forget

I have hp-ux 11.0 with trusted setup. I forget the Admin password. When I boot the system in singal user mode it still ask me for the admin password to logon. System is L-class. Please advise how to change password in trusted system
9 REPLIES 9
bhavin asokan
Honored Contributor

Re: administrator password forget

hi,

i think it is not your day.is there any root equivalent login in your system.

regds,

twang
Honored Contributor

Re: administrator password forget

In single user mode, try 2 things:
1) type 'passwd'
# passwd
2) edit the /tcb/files/auth/r/root file and remove the encrypted password,
then do the passwd command again
Slawomir Gora
Honored Contributor

Re: administrator password forget

Hi,

you have to boot from install CD
1. terminate normal booting booting
2. search for cdrom device: sea
3. boot from cdrom bo pX (replace X with your number)
4. Run a Recovery Shell
loadfile /sbin/fs/hfs/fsck
loadfile /sbin/fs/vxfs/fsck
loadfile /sbin/fs/hfs/mount
loadfile /sbin/fs/vxfs/mount
loadfile /usr/bin/ed
chroot_lvmdisk
cd /ROOT/tcb/files/auth/r

5. modify your root file (u_pwd) section




bhavin asokan
Honored Contributor

Re: administrator password forget

hi,


the author's problem is that he enabled the
"Require Login Upon Boot to Single-User State"
option in TCB .so he will not be able to login in to the system in single user mode also without passwd. any option is available with recovery cd ?

regds,


KAT_5
Advisor

Re: administrator password forget

Just to add this server is not prodution system . Its only a stand by machine. I can reboot it.
bhavin asokan
Honored Contributor

Re: administrator password forget

hi,

i think Slawomir Gora's answer will solve your problem.it is a nice solution.

regds,
Hoang Chi Cong_1
Honored Contributor
Solution

Re: administrator password forget

Hi
I have already answer this question in this thread, you can refer to it.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=764574

Best and regard,
Jimkery
Looking for a special chance.......
Nguyen Anh Tien
Honored Contributor

Re: administrator password forget

Dear experts.
hp-ux 11.0 with trusted setup is not allow to change password in single user mode.
In order to change passwd. You must break trusting on trusting server.
HP is simple