Help - Search - Members - Calendar
Full Version: How To Reset Root Password
GP32X.com - GP32 GP2X Pandora The Wiz - open source entertainment > GP2X > General talk [GP2X]
slygamer
For some strange reason, I changed the root password on my GP2X. I know what it is, but I now want to reset it back to what it was before, i.e. blank, empty, nothing. How do I do that?
Squidge
try editing /etc/passwd so you have nothing in the password field. I don't know if the gp2x uses shadow passwords, but if it does, it'll probably be a single asterix, otherwise a hash value.
slygamer
Sweet. Thanks.

/etc/passwd contained this line at the top

root:l.tXd184Ct5CQ:0:0:root:/root:/bin/sh

Just removed everything between the first two colons. Actually, there was a file called passwd.OLD in there as well, which was the same file before the root password was changed.
rokdcasbah
"locks are for honest people" smile.gif

in windows NT/2k as well, it's the same deal...just blank out part of a file. ah well.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.