Page 28 of 55

Re: Rooting Toon (or boxx)

Posted: Sat Feb 10, 2018 9:35 pm
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?

Re: Rooting Toon (or boxx)

Posted: Sat Feb 10, 2018 11:02 pm
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.

Re: Rooting Toon (or boxx)

Posted: Sat Feb 10, 2018 11:24 pm
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.

Re: Rooting Toon (or boxx)

Posted: Sat Feb 10, 2018 11:28 pm
by Lightning87
Will Eneco not make a problem of it? Because the toon is rooted now?

Re: Rooting Toon (or boxx)

Posted: Sat Feb 10, 2018 11:51 pm
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.

Re: Rooting Toon (or boxx)

Posted: Mon Feb 12, 2018 9:48 pm
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!!!!

Re: Rooting Toon (or boxx)

Posted: Mon Feb 12, 2018 10:02 pm
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)

Re: Rooting Toon (or boxx)

Posted: Mon Feb 12, 2018 10:18 pm
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.

Re: Rooting Toon (or boxx)

Posted: Mon Feb 12, 2018 10:31 pm
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.

Re: Rooting Toon (or boxx)

Posted: Mon Feb 12, 2018 10:36 pm
by marcelr
Great, thanks TheHogNL, so that's not the issue. A typo, then?

Re: Rooting Toon (or boxx)

Posted: Mon Feb 12, 2018 10:42 pm
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

Re: Rooting Toon (or boxx)

Posted: Mon Feb 12, 2018 10:45 pm
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.

Re: Rooting Toon (or boxx)

Posted: Mon Feb 12, 2018 11:11 pm
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.

Re: Rooting Toon (or boxx)

Posted: Mon Feb 12, 2018 11:13 pm
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.

Re: Rooting Toon (or boxx)

Posted: Tue Feb 13, 2018 10:21 am
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?