Rooting Toon (or boxx)

Everything about rooting Toons 1 and 2.

Moderators: marcelr, TheHogNL, Toonz

Lightning87
Starting Member
Starting Member
Posts: 6
Joined: Sat Feb 10, 2018 2:06 am

Re: Rooting Toon (or boxx)

Post by Lightning87 »

Yeah im finnaly in my toon! thank you so much!

Now i need to install busybox right?
Can you tell me how i install that? i looked under the file section but there is no busybox?
Lightning87
Starting Member
Starting Member
Posts: 6
Joined: Sat Feb 10, 2018 2:06 am

Re: Rooting Toon (or boxx)

Post by Lightning87 »

Yes! Everything works fine now!

Do i really need to disconnect the connection with the SC?
I still got the subscription with eneco.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Rooting Toon (or boxx)

Post by marcelr »

Lightning87 wrote: Do i really need to disconnect the connection with the SC?
I still got the subscription with eneco.
In that case, I would keep the connection intact.
Lightning87
Starting Member
Starting Member
Posts: 6
Joined: Sat Feb 10, 2018 2:06 am

Re: Rooting Toon (or boxx)

Post by Lightning87 »

Will Eneco not make a problem of it? Because the toon is rooted now?
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Rooting Toon (or boxx)

Post by marcelr »

I don't think so. There are many forum members with a rooted toon AND an Eneco subscription. Haven't heard of any issues yet.
User avatar
RdP
Advanced Member
Advanced Member
Posts: 989
Joined: Thu May 04, 2006 10:14 am
Location: Netherlands

Re: Rooting Toon (or boxx)

Post by RdP »

TheHogNL wrote:Or set the password to be 'password' with the following in /etc/passwd:

Code: Select all

root:4fSaNO9Lh4WPU:0:0:root:/root:/bin/sh
Tried this too, but I cannot login with ssh

please help!!!!
Rien
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post by TheHogNL »

RdP wrote:
Tried this too, but I cannot login with ssh

please help!!!!
Do you get a SSH login prompt or is SSH not working at all? (in that case, check if you have installed ssh and check if you opened the ssh port in the iptables config)
Member of the Toon Software Collective
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Rooting Toon (or boxx)

Post by marcelr »

RdP wrote: please help!!!!
The hashed password in this case is too old. Won't work with dropbear 2015. Modern hashes are a LOT longer than 12 bytes.
Try this one (password: password, all lower case):

Code: Select all

root:$1$1ajmZdpR$D/L7nG0lQD.u9LkTeQ0cE/:0:0:root:/root:/bin/sh
If that doesn't work, you'll have to transfer busybox-1.27.2-r2 to your toon and install that. Then you will have password control, and all other stuff that has been removed in the latest "standard" busybox.
There is a strong possibility that it won't work. I checked two of my toons with the same root passwd, they have quite different hashes. Possibly creation time, hostname and what have you are part of the hash.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post by TheHogNL »

marcelr wrote: The hashed password in this case is too old. Won't work with dropbear 2015. Modern hashes are a LOT longer than 12 bytes.
Strange. I have "dropbear - 2015.71-r0" installed and that short hash is created and working fine on my Toon (4.10.6).

I have never seen a passwd hash being depended on a machine (creation time, hostname etc). Your "$1$1ajmZdpR$D/L7nG0lQD.u9LkTeQ0cE/" hash works fine on my Toon.
Member of the Toon Software Collective
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Rooting Toon (or boxx)

Post by marcelr »

Great, thanks TheHogNL, so that's not the issue. A typo, then?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post by TheHogNL »

Another funny thing.. my 'passwd' command defaults to using DES (the old 10 character style password hash). So I don't know why your command is making a MD5 hash (which ifcourse is much more secure than DES :-))

BusyBox v1.27.2 (2017-12-26 13:47:54 CET) multi-call binary.

Usage: passwd [OPTIONS] [USER]

Change USER's password (default: current user)

-a ALG des,md5,sha256/512 (default des)
-d Set password to ''
-l Lock (disable) account
-u Unlock (enable) account
Member of the Toon Software Collective
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Rooting Toon (or boxx)

Post by marcelr »

Could be a setting in the busybox configuration. Will check that. I need to update busybox anyway, some of the older functionality is still missing.
User avatar
RdP
Advanced Member
Advanced Member
Posts: 989
Joined: Thu May 04, 2006 10:14 am
Location: Netherlands

Re: Rooting Toon (or boxx)

Post by RdP »

marcelr wrote:
RdP wrote: please help!!!!
The hashed password in this case is too old. Won't work with dropbear 2015. Modern hashes are a LOT longer than 12 bytes.
Try this one (password: password, all lower case):

Code: Select all

root:$1$1ajmZdpR$D/L7nG0lQD.u9LkTeQ0cE/:0:0:root:/root:/bin/sh
If that doesn't work, you'll have to transfer busybox-1.27.2-r2 to your toon and install that. Then you will have password control, and all other stuff that has been removed in the latest "standard" busybox.
There is a strong possibility that it won't work. I checked two of my toons with the same root passwd, they have quite different hashes. Possibly creation time, hostname and what have you are part of the hash.
The issue was that VI somehow did not remember the passowrd file after a reboot, save it now in another manner and it works !!!!

Thanks for helping me so far.
Rien
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Rooting Toon (or boxx)

Post by marcelr »

De nada.

@TheHogNL:

Busybox configuration has no option to set hash types for passwd, other than SHA256/512, which is switched on. Don't know where the default DES hash stems from.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Rooting Toon (or boxx)

Post by TheHogNL »

@MarcelR:
Strange. I'm using the busybox-1.27.2-r2 in which the passwd command defaults to DES: "-a ALG des,md5,sha256/512 (default des)"
What does your passwd command tell with the (unknown) -h option?
Member of the Toon Software Collective
Post Reply

Return to “Toon Rooting”