Dreambox Support Forum



+ Reply to Thread
Showing results 1 to 13 of 13

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

  1. #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 03:57 PM

  2. The Following 4 Users Say Thank You to Legless For This Useful Post:

    allev (04-09-2009), globopl (13-11-2009), Hameed_farah (14-08-2008), mamadou69 (18-10-2009)

  3. #2
    Super Moderator mhku's Avatar
    Join Date
    08-03-2005
    Location
    J6 M5
    Posts
    4569
    Thanks
    11
    Thanked 189 Times in 170 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


  4. #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

  5. #4
    Specialist Contributor compufunk's Avatar
    Join Date
    07-05-2008
    Location
    NW, Ireland
    Posts
    1568
    Thanks
    145
    Thanked 274 Times in 228 Posts

    My System: DM 600-S, VU+ Duo, Moteck SG2100, Fracarro Penta 85 dish, LG LH3000 42" TV + some computers
    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 04:23 PM Reason: typo

  6. The Following User Says Thank You to compufunk For This Useful Post:

    hameed (15-08-2008)

  7. #5
    Specialist Contributor compufunk's Avatar
    Join Date
    07-05-2008
    Location
    NW, Ireland
    Posts
    1568
    Thanks
    145
    Thanked 274 Times in 228 Posts

    My System: DM 600-S, VU+ Duo, Moteck SG2100, Fracarro Penta 85 dish, LG LH3000 42" TV + some computers
    Quote 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.

  8. #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

  9. #7
    Super Moderator mhku's Avatar
    Join Date
    08-03-2005
    Location
    J6 M5
    Posts
    4569
    Thanks
    11
    Thanked 189 Times in 170 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


  10. #8
    Member
    Join Date
    13-06-2004
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote 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!

  11. #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 ?

  12. #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

  13. #11
    Specialist Contributor compufunk's Avatar
    Join Date
    07-05-2008
    Location
    NW, Ireland
    Posts
    1568
    Thanks
    145
    Thanked 274 Times in 228 Posts

    My System: DM 600-S, VU+ Duo, Moteck SG2100, Fracarro Penta 85 dish, LG LH3000 42" TV + some computers
    Quote 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.
    http://www.satellites.co.uk/satellit...rd-plugin.html

  14. #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?

  15. #13
    Member
    Join Date
    20-03-2007
    Location
    wales
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    My System: tm1500 80cm dish
    Quote 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!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. How can I retrieve a lost root password?
    By eddieteo in forum Dreambox500
    Replies: 21
    Last Post: 15-08-2008, 03:06 PM
  2. root for dreambox DM500-S
    By tchench in forum Dreambox500
    Replies: 2
    Last Post: 07-09-2007, 12:56 AM
  3. TDMAN root password
    By aljabry in forum Triple Dragon
    Replies: 5
    Last Post: 12-10-2006, 06:35 PM
  4. Why I can't see 'root/platform/kernel'?
    By nobrain200 in forum Dreambox7020
    Replies: 0
    Last Post: 04-08-2006, 06:52 PM
  5. root file
    By APN in forum Satellite PC Card Receivers & Internet by Satellite
    Replies: 5
    Last Post: 25-01-2005, 08:19 PM

Tags for this Thread

Bookmarks

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Content Relevant URLs by vBSEO 3.5.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297