How To Change Root Password If You Don't Know It

Dreambox information exchange on the best dreambox software images and help with all other operational problems with your Dreambox. The ultimate Dreambox satellite TV support forum.


Reply
 
LinkBack Thread Tools Display Modes
Old 16-06-2008   #1
Member
 
Join Date: 12-09-2006
Location: North East
Posts: 6
Thanks: 0
Thanked 4 Times in 1 Post

My System: DM7020
How To Change Root Password If You Don't Know It

Be gentle, first post.

I'm completely new to the whole Dreambox scene so forgive me if I'm teaching people how to suck eggs.

I got my first Dreambox today, a DM500S, and found that I couldn't log in as root. Seems the little bugger is set up as a cardsharing machine and the bloke I bought it off won't answer my emails asking for the root password. He seems to think I'll be happy to pay 300 bucks a year for the privilige of using his Cardserver.

So, I had to go hunting for ways to reset root without flashing the machine. And here's what I came up with after a *lot* of googling.


First off, you need to have TuxBox commander. You can download it via the Blue Panel then ADDONS. Just select the Gemini Server and, when it's downloaded the catalogue, select PLUGINS and download Tuxbox Commander.

Once thats installed you can access it through Blue Panel, PLUGINS (Tools).

Fire it up and navigate to var/etc

Select the passwd file. Hit 4 to edit it.

You'll see something like this:

root:$1$$3er43323sBBCAw.ofBbt.:0:0::/:/bin/sh
sshd:*:65532:65534::/:/bin/false
ftp:*:65533:65534::/:/bin/false
nobody:*:65534:65534::/:/bin/false



Your root password will obviously be different to the above. What you need to do is replace the first line with this:

root:$1$$34NPeumc9sBBCAw.oUaM80:0:0::/:/bin/sh

And you have to be *exact*.

That resets the password to "dreambox" (without the quotes - password is now dreambox) and you're good to go.

Obviously, I make no promises and won't take any blame if it screws up. But it worked for me.

Cheers

Legless

Last edited by Legless; 16-06-2008 at 04:57 PM.
Legless is offline   Reply With Quote
The Following 4 Users Say Thank You to Legless For This Useful Post:
allev (04-09-2009), globopl (1 Week Ago), Hameed_farah (14-08-2008), mamadou69 (4 Weeks Ago)
Old 16-06-2008   #2
Super Moderator
 
mhku's Avatar
 
Join Date: 08-03-2005
Location: J6 M5
Posts: 4540
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1

My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini


If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots

If you don't know your password you've nothing to lose.

I'll test this tomorrow and add it to the Idiot's Guide if it works


You don't stop playing because you get old, you get old because you stop playing. Regras
Before posting in the Dreambox section please ensure you've read The Guide


Information is for educational purposes only

mhku is offline   Reply With Quote
Old 16-06-2008   #3
Member
 
Join Date: 12-09-2006
Location: North East
Posts: 6
Thanks: 0
Thanked 4 Times in 1 Post

My System: DM7020

It should.

And, if it does, I'll get one of my fixes added to an idiots guide on my first post which makes me go "WOO!".

I did try a *much* more convulted way of changing the password but it failed.

Basically, I setup a webserver and DNS, pointed the dreambox to my DNS and added an entry for download.blue-panel.com - the people who make the Gemini image.

The I wrote a quick PHP script that echoed the contents of the gemini catalog xml file to the browser. My reasoning was that if I could fool the installer into thinking it was talking to the Gemini server, I could add my own package and get it to execute that as root. All my package did was over write the passwd file with a known good password.

Failed miserably.

Got the dreambox to accept the server OK but it wouldn't open the xml file and whined about an "XML Parse Error". No idea why.

Still, now I have root, I can backup my box to an image and then I can really start messing around with the box.

Only thing I need now is a null-modem cable. Any idea how hard they are to buy in OZ? They're like rocking horse-shit.

BTW - I'm a recent migrant to Australia and most of my techie shit is in a container somewhere on the Indian Ocean. That's why I have no null-modem cable. Or a box with a bloody serial port. (But I do have a usb to serial convertor)


Cheers
Legless is offline   Reply With Quote
Old 16-06-2008   #4
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1395
Thanks: 122
Thanked 230 Times in 197 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters

Nice,

You could also delete the password altogether and use 'passwd' at a command line to reset it, This would be easier than typing in with the remote control.

Just delete the part marked in red, between the colons.
root:$1$$3er43323sBBCAw.ofBbt.:0:0::/:/bin/sh

I haven't tested this on a Dreambox yet, but it works on one of my linux machines at work.

Last edited by compufunk; 16-06-2008 at 05:23 PM. Reason: typo
compufunk is offline   Reply With Quote
The Following User Says Thank You to compufunk For This Useful Post:
hameed (15-08-2008)
Old 16-06-2008   #5
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1395
Thanks: 122
Thanked 230 Times in 197 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters

Originally Posted by Legless View Post
Only thing I need now is a null-modem cable. Any idea how hard they are to buy in OZ? They're like rocking horse-shit.
Cheers
You could rewire 2 serial cables into one nullmodem cable, I've done it, its not the best solution, but it worked.
(But I do have a usb to serial convertor)
I've read that some people have been finding that they are not as reliable as they would like.
compufunk is offline   Reply With Quote
Old 16-06-2008   #6
Member
 
Join Date: 12-09-2006
Location: North East
Posts: 6
Thanks: 0
Thanked 4 Times in 1 Post

My System: DM7020

Arrgah.

You bar-steward!

You know that I now *have* to try that?

But first, backup and then restore so I have faith in the recovery utilities.

Then I'm going to give that a bash. I'll let you know how I get on.

Cheers
Legless is offline   Reply With Quote
Old 16-06-2008   #7
Super Moderator
 
mhku's Avatar
 
Join Date: 08-03-2005
Location: J6 M5
Posts: 4540
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1

My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini


If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots

Your dns spoof method is mentioned in an old post here.

I'm sure fleabay Oz has null modem cables? Or they're AU $6 poste from fleabay UK to a land downunder.


You don't stop playing because you get old, you get old because you stop playing. Regras
Before posting in the Dreambox section please ensure you've read The Guide


Information is for educational purposes only

mhku is offline   Reply With Quote
Old 15-08-2008   #8
Member
 
Join Date: 13-06-2004
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts

Originally Posted by compufunk View Post
Nice,

You could also delete the password altogether and use 'passwd' at a command line to reset it, This would be easier than typing in with the remote control.

Just delete the part marked in red, between the colons.
root:$1$$3er43323sBBCAw.ofBbt.:0:0::/:/bin/sh

I haven't tested this on a Dreambox yet, but it works on one of my linux machines at work.
If anyone cares to know, I just tried this and it worked like a charm...now I have my box back! Many thanks!
hameed is offline   Reply With Quote
Old 21-09-2008   #9
Member
 
Join Date: 04-09-2008
Location: Asia
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts

My System: DreamBox DM500-S

There is no listing of Gemini server when accessing bluepanel>addons, not possible to download Tuxcom.
How to set addons to gemini server ?
Myhd is offline   Reply With Quote
Old 17-03-2009   #10
Member
 
Join Date: 17-03-2009
Location: Qatar
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

My System: hotbirt and nilsat, vista

hi ,
l download tuxbox via blue panel but when l want to open it ; he ask me to enter the password .
and l don t have it
so what can l do now ?
thank you
mbiayi is offline   Reply With Quote
Old 18-03-2009   #11
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1395
Thanks: 122
Thanked 230 Times in 197 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters

Originally Posted by mbiayi View Post
hi ,
l download tuxbox via blue panel but when l want to open it ; he ask me to enter the password .
and l don t have it
so what can l do now ?
thank you
The search tool would have found you this.
Reset Root Password, Plugin
compufunk is offline   Reply With Quote
Old 25-07-2009   #12
Member
 
Join Date: 21-07-2009
Location: Bahrain
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

My System: dreambox 500-s

there r 2 files 1 on them named passwrd n the other 1 is passwrd-
which file should i edit?
and will changing the first line with
root:$1$$34NPeumc9sBBCAw.oUaM80:0:0::/:/bin/sh
will effect ccam?
TOSGamer is offline   Reply With Quote
Old 21-09-2009   #13
Member
 
Join Date: 20-03-2007
Location: wales
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

My System: tm1500 80cm dish

Originally Posted by compufunk View Post
Nice,

You could also delete the password altogether and use 'passwd' at a command line to reset it, This would be easier than typing in with the remote control.

Just delete the part marked in red, between the colons.
root:$1$$3er43323sBBCAw.ofBbt.:0:0::/:/bin/sh

I haven't tested this on a Dreambox yet, but it works on one of my linux machines at work.
this works perfect
delet all whats in red goto DCC> in password type> passwd and it works!
youceff is offline   Reply With Quote
Reply

Bookmarks

Tags
change, password, root


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off







All times are GMT +1. The time now is 08:10 AM.


All views and information expressed in users' communications and profiles represent the opinions of the users concerned and do not represent the views of Satellites.co.uk. All images and news content are believed to be in the public domain, except where otherwise stated. Forum software by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Content Relevant URLs by vBSEO 3.3.1