Please help lost root password

5 posts / 0 new
Last post
#1 Thu, 03/19/2009 - 16:03
virtualminldwms

Please help lost root password

Can't log in as root,,I know my password.

I used a cd key off of a win xp cd rom.

so if i for get i just look at xp cd case.

I know i used all lower case.

can any one help.where is the password file/log

or do i have to format my drive and re-install.

I can login in as the user at first install. but as root

can't login to virtualmin server 127.0.0.1:10000

Help

Thu, 03/19/2009 - 16:12
andreychek

What distribution are you using?

Are you by chance using Ubuntu?
-Eric

Thu, 03/19/2009 - 16:50 (Reply to #2)
virtualminldwms

debian 4 r7

Thu, 03/19/2009 - 16:52 (Reply to #3)
virtualminldwms

debian4 r7

Thu, 03/19/2009 - 16:56 (Reply to #4)
andreychek

Okay, Ubuntu may have made it simple since it sets up sudo by default -- which would allow you to change your root password, using a regular user.

So we'll need to do it the harder way :-)

No, you don't have to format by any means -- you simply need to boot into run level 1, and reset the password.

Here's an example of how you might accomplish that:

http://www.debianhelp.co.uk/root.htm

Topic locked