Page 1 of 2

Forget OXE 9.0 password

Posted: 04 Aug 2010 00:09
by yanxiaomin
Hi,
I forgot my OXE 9.0 password,How I can recover my root password.

After I edit the grub,
kernel /boot/vmlinuz root=/dev/hda5 single console=ttyS0,9600 panic=5
and input b.
After it init it output:
Give root password for maintenance
(or type Control-D for normal startup):

I cann't log in single mode.

Posted: 16 Aug 2010 10:30
by bigmac
Hi all,

I have also tried this method but for me after I enter the commands above ie
root (hd0,4)
kernel /boot/vmlinuz root=/dev/hda5 console=ttyS0,9600 panic=5 single
boot
nothing happens and when I reboot system comes up as normal.
I presume i should enter them individually i.e.
kernel /boot/vmlinuz
root=/dev/hda5
(get error 11 unrecognised device string)
so I have tried entering the whole lot on one line but no good

this is the doc I am referring to
password recovery for linux.pdf

Posted: 17 Aug 2010 11:30
by swinstation
Hi all
yes I have your problem too:
I tried mentioned procedure on the attachment and I have :

Give root password for maintenance
(or type Control-D for normal startup):

Posted: 17 Aug 2010 17:44
by tincho.rn
Hi. Mount the hardisk in an other computer with Linux. Clear the encrypted password (you will notice the password in the file) from file /etc/shadow where you have root user. Always make a copy of the file. Reagards.

Posted: 18 Aug 2010 02:01
by vad
May be like this:
root (hd0,4)

kernel /boot/vmlinuz root=/dev/hda5 console=ttyS0,9600 panic=5 single init=/bin/bash

boot

init-2.05b# mount -o remount,rw /

init-2.05b# passwd
New UNIX password:
Retype new UNIX password:

Posted: 07 Sep 2010 18:34
by boby
you can simply boot a linux live cd and mount your / partition
then go in the /etc/ of your mounted partition and check the passwd and shadow files
in the shadow file go to the row matching "root" and remove the data between the first and second ":" this is your encrypted password.
if you do so, next reboot you could login without password, just pressing the "enter" key when it ask for a password.(it even should not ask for a password)

Second way, if you run vmware: you can grep the images files for strings like "root:" and what should go out is the password of your oxe root account.
you can then add this to a txt file and use john the ripper to crack the password..
if you didnt set any crazy long password, you should get your password back in few mins/hours/days..

thats it.
Hope it helps

Posted: 15 Sep 2010 08:48
by Tha Tawa'S
bigmac wrote:Hi all,

I have also tried this method but for me after I enter the commands above ie
root (hd0,4)
kernel /boot/vmlinuz root=/dev/hda5 console=ttyS0,9600 panic=5 single
boot
nothing happens and when I reboot system comes up as normal.
I presume i should enter them individually i.e.
kernel /boot/vmlinuz
root=/dev/hda5
(get error 11 unrecognised device string)
so I have tried entering the whole lot on one line but no good

this is the doc I am referring to
password recovery for linux.pdf

I have successfully did the procedure.
It works with the main version but not with the second version installed;
My main version (the first installed) is R8 and the second (as inactive version) is R9.
After a switch version, R9 main and R8 inactive, this procedure doesn't function anymore.
It is still function with R8.

Has anyone an idea?

Re: Forget OXE 9.0 password

Posted: 28 Apr 2011 00:13
by Gerry
I did the procedure on Release 9.1 and it worked.. however you need the root maintenance password as prior to changing any passwords it requires the correct current root password entry.

Re:

Posted: 07 Sep 2011 02:30
by kalel
vad wrote:May be like this:
root (hd0,4)

kernel /boot/vmlinuz root=/dev/hda5 console=ttyS0,9600 panic=5 single init=/bin/bash

boot

init-2.05b# mount -o remount,rw /

init-2.05b# passwd
New UNIX password:
Retype new UNIX password:
hi vad I donno why my standby CPU suddenly changed the mtcl password while the main was still the same... I have tried your procedure before on my Main CPU (CPU20) and it was successfull, but when I am trying now this to my standby cpu it wont work is there anything I should cahneg on the string for the standy cpu used.... hope u can help me

thanks

Re: Forget OXE 9.0 password

Posted: 07 Sep 2011 02:43
by vad
This procedure for re-enter password (f.e. forgotten).
May be you have problem with HDD (file system, broken/not exist some file).
Becouse this is stand-by - you can reinstall SW and clone database.