Jump to content

Dropbear SSH Server - Password change.


Recommended Posts

Guest davrian
Posted

Hi,

For a few days now i've been trying to find out how to change the generated password on the dropbear server. When I issue the 'passwd' command, I get the following output:

# passwd root

passwd: unknown uid 0

# passwd

passwd: unknown uid 0

#

I'm running the latest MCR on my GSM Hero, rooted and unlocked.

I'm really stumped at this, and any help would be greatly appreciated,

Thanks ;) ,

Davrian

Guest Dr. dre
Posted
Hi,

For a few days now i've been trying to find out how to change the generated password on the dropbear server. When I issue the 'passwd' command, I get the following output:

# passwd root

passwd: unknown uid 0

# passwd

passwd: unknown uid 0

#

I'm running the latest MCR on my GSM Hero, rooted and unlocked.

I'm really stumped at this, and any help would be greatly appreciated,

Thanks ;) ,

Davrian

Just use any Root Explorer or use ADB and pull this file /data/dropbear/passwd and change your password in that file and push it back.

Posted
Just use any Root Explorer or use ADB and pull this file /data/dropbear/passwd and change your password in that file and push it back.

And in case it's not obvious, you probably need to restart the dropbear server after that. Simplest way is just to reboot.

Guest davrian
Posted

Thanks for the response guys ;) I've just done that, it all worked properly.

Much appreciated!

Davrian

Guest sinnadyr
Posted

sweet! Been wondering if this was possible, just forgot to ask about it ;)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.