Forget OXE 9.0 password

Did you say hacking ?
yanxiaomin
Member
Posts: 17
Joined: 24 Jun 2009 04:18

Forget OXE 9.0 password

Post 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.
User avatar
bigmac
Member
Posts: 177
Joined: 10 Sep 2009 16:05
Location: Ireland

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
swinstation
Member
Posts: 458
Joined: 21 Mar 2009 17:14
Location: Alcatel world

Post 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):
tincho.rn
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 929
Joined: 30 Jan 2006 09:40
Location: Argentina
Contact:

Post 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.
vad
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3806
Joined: 23 Sep 2004 06:47

Post 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:
User avatar
boby
Member
Posts: 8
Joined: 06 Sep 2010 18:52

Post 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
User avatar
Tha Tawa'S
Member
Posts: 89
Joined: 16 Jan 2010 04:49

Post 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?
User avatar
Gerry
Member
Posts: 17
Joined: 14 Jan 2010 13:59
Location: Boston, Massachusetts, USA

Re: Forget OXE 9.0 password

Post 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.
User avatar
kalel
Member
Posts: 60
Joined: 21 Jul 2008 06:05

Re:

Post 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
vad
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3806
Joined: 23 Sep 2004 06:47

Re: Forget OXE 9.0 password

Post 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.
Post Reply

Return to “System Hacking”