Avatar of andieje
andieje
 asked on

Ubuntu - reset root password

Hi

I have 'inherited' a linux machine and need to reset the root password. I tried restarting in recovery mode and dropping to a root shell prompt as advised on various websites but then got
Give root password for maintenance shell (or type Control-D to continue):

I don't know where to go from here as I'm a novice really. I have seen this page but don't know how to follow it

http://www.uluga.ubuntuforums.org/showthread.php?t=1433097

I tried starting again in recovery mode and pressing e to edit it but this just gave me an screen with some output on it and th option for a command prompt which just takes you to a  grub command prompt .

I don't know what to do :)
thanks a lot
Linux Distributions

Avatar of undefined
Last Comment
andieje

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Wilder_Admin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
alpharom

if you have a ubuntu cd-rom you can run it from the configuration in a graphical mode
sagiamar

andieje

ASKER
i don't have a cd rom.
Here is what i get
linux.jpg
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
andieje

ASKER
what do you mean by don't have local access?

I am running linux as a virtual machine. It is someone else's VM and I can't get it to load.

I actually get these errors when I try and log on as the user I have the password for:


Could not update ICEauthority file home/mkhweb/.ICEauthority

I click the only option, cancel and then get this error

There is a problem with the configuration server (/usr/lib/libgconf2-4/conf-sanity-check exited with status 256

So i can't log on at all. All the fixes for the above solution require dropping to a root shell and I can't do that!!!
andieje

ASKER
I probably have the original linux iso file if that helps
andieje

ASKER
thanks
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.