Active Topics

 


Reply
Thread Tools
Posts: 52 | Thanked: 2 times | Joined on Mar 2007
#1
I read elsewhere that the default root password in Dialbo is "rootme", but that doesn't work on my N800. Should I reflash and try again?

Thanks,

Bill
 
skibur's Avatar
Posts: 49 | Thanked: 13 times | Joined on Dec 2007 @ Texas
#2
I got root on Diablo by installing Openssh. Once its installing, it will ask you to enter a new root password then you can use that. Make sure you have Openssh client as well.

Use the following on the Terminal:
ssh root@127.0.0.1

(type "yes" when prompt)
[password]
enjoy!

It also works well on KDE

Root on Konqueror (File manager/browser)

On Location/address bar type:
fish://root@127.0.0.1
[password]
enjoy!


Linux Rulez!
__________________
rubiks == skibur = skybur != skeebur

"Life is too short to waste on sleep" - Johnny Cunningham

http://www.skibur.com
 
tolou's Avatar
Posts: 87 | Thanked: 1 time | Joined on Mar 2006
#3
Would changing root pwd actually mess up the Becomeroot shell installation, and you will be forced to use 'su' from there on?
__________________
Naboo
__________________
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#4
Originally Posted by tolou View Post
Would changing root pwd actually mess up the Becomeroot shell installation, and you will be forced to use 'su' from there on?
Nope, its safe.
 
Posts: 263 | Thanked: 679 times | Joined on Apr 2008 @ Lyon, France
#5
Originally Posted by jcherepy View Post
I read elsewhere that the default root password in Dialbo is "rootme", but that doesn't work on my N800. Should I reflash and try again?
Hi,

There's a great wiki page (recently updated) on exactly this subject: https://wiki.maemo.org/Root_access

Cheers,
Dave.
 

The Following User Says Thank You to dneary For This Useful Post:
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#6
This is weird-- I installed becomeroot on my N810, and never set a root password. Until recently, just running "sudo becomeroot" took care of everything-- but then out of the blue xterm is now asking for a password afterward! WTF???

AFAIK I did nothing to cause this.

Disregarding ssh... how do I get becomeroot back to how it was?
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#7
Probably /etc/sudoers got changed or you installed something like rootsh?
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#8
Originally Posted by allnameswereout View Post
Probably /etc/sudoers got changed or you installed something like rootsh?
Ehm, if anything, rootsh overwrites the gainroot script with one that will always get you root & you can't install rootsh if becomeroot is installed

But I agree that checking /etc/sudoers would help as gainroot does depend on sudo.

Last edited by qwerty12; 2008-10-11 at 05:33.
 
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#9
Originally Posted by allnameswereout View Post
Probably /etc/sudoers got changed or you installed something like rootsh?
If it was changed, I don't know how or why. No rootsh install.
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#10
If you really want to check it, you'll need rootsh or ssh :P

With rootsh, you can do
rootsh /bin/sh
or my favourite thing to do with sudo files is to install zap's sudser so I can just sudo <anything>

To the OP:

The password is rootme, I recently ran it through a cracker to make sure they hadn't changed it. The reason you can't use it is this:
MODE=`/usr/sbin/chroot /mnt/initfs cal-tool --get-rd-mode`
if [ x$MODE = xenabled ]; then
if grep -q '^root:!SU.odxvRwp3Vs' /etc/passwd; then
/usr/sbin/usermod -U root
fi
else
if grep -q '^root:SU.odxvRwp3Vs' /etc/passwd; then
/usr/sbin/usermod -L root
fi
fi
As you can see, the root account is locked on boot if the tablet is in "production" mode.

EDIT:

The more I think about it:

/etc/sudoers misses an:
root ALL=(ALL) ALL
& to use su, busybox needs to run it with setuid set.

Last edited by qwerty12; 2008-10-11 at 06:05.
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:50.