how to change root forgot password

Asked by Bryan LOgan on 2011-04-05

I do not know my administrator password,i want to change the root
My friend murray put this abuntu operating system in my computer originally windows only.
I want to download abuntu programs and try out this sysem but I cant because I do not know administrators password and murray is not living at my house any longer and cannot be found.please help me over ride his password.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
2011-04-05
Last query:
2011-04-05
Last reply:
2011-04-05
Ian Lancaster (ianml) said : #1

If there is only one user with sudo privileges you're going to find it impossible to add another user, change your password, or switch to root. That's really the point of user security. If the computer is yours I would start from scratch with your own fresh copy of Ubuntu. If you can't log into the computer at all, you'll probably have to download and burn an Ubuntu CD on another computer in order to do this.

Thank you ian for giving me some information.This computer was originally windows and a friend added ubunto,I really
like abuntu and want to get to know the system more.
I am an audio engineer and do media art like brochures,business cards ect

You do NOT need to reinstall Ubuntu to gain access!

First, I'll echo Ian's sentiment about how you should only attempt to circumvent the restrictions on your user account if the computer is yours or you have permission from the person whose computer it is.

You can change your friend's account password and sign in to his account (and then use that to perform administrative tasks, or just use it to give yourself administrative privileges):
http://www.psychocats.net/ubuntu/resetpassword

Alternatively, you could keep your friend's account password the same and use a modified version of that procedure to simply give your account administrative privileges. To do this, instead of running "password username", run "usermod -a -G admin username" (replacing username with the short name of your user account, as explained on that page).

Thank you.I got the password reset,now though when I tried to download a media edeting program I got this message and dont know how to run it.
E:dpkg was interupted, you must manually run'dpkg--configure -a
to correct the problem
> To: <email address hidden>
> From: <email address hidden>
> Subject: RE: [Question #151702]: how to change root forgot password
> Date: Tue, 5 Apr 2011 15:57:02 +0000
>
> Your question #151702 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/151702
>
> Status: Open => Answered
>
> Eliah Kagan proposed the following answer:
> You do NOT need to reinstall Ubuntu to gain access!
>
> First, I'll echo Ian's sentiment about how you should only attempt to
> circumvent the restrictions on your user account if the computer is
> yours or you have permission from the person whose computer it is.
>
> You can change your friend's account password and sign in to his account (and then use that to perform administrative tasks, or just use it to give yourself administrative privileges):
> http://www.psychocats.net/ubuntu/resetpassword
>
> Alternatively, you could keep your friend's account password the same
> and use a modified version of that procedure to simply give your account
> administrative privileges. To do this, instead of running "password
> username", run "usermod -a -G admin username" (replacing username with
> the short name of your user account, as explained on that page).
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/151702/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/151702
>
> You received this question notification because you are a direct
> subscriber of the question.

I got it all squared away.Thank you to those who take a minute and help people ! this is quite an experience and much appreciated.
sincerely Bryan
> To: <email address hidden>
> From: <email address hidden>
> Subject: RE: [Question #151702]: how to change root forgot password
> Date: Tue, 5 Apr 2011 17:39:19 +0000
>
> Your question #151702 on sudo in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/sudo/+question/151702
>
> Status: Answered => Open
>
> You are still having a problem:
>
> Thank you.I got the password reset,now though when I tried to download a media edeting program I got this message and dont know how to run it.
> E:dpkg was interupted, you must manually run'dpkg--configure -a
> to correct the problem
> > To: <email address hidden>
> > From: <email address hidden>
> > Subject: RE: [Question #151702]: how to change root forgot password
> > Date: Tue, 5 Apr 2011 15:57:02 +0000
> >
> > Your question #151702 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/151702
> >
> > Status: Open => Answered
> >
> > Eliah Kagan proposed the following answer:
> > You do NOT need to reinstall Ubuntu to gain access!
> >
> > First, I'll echo Ian's sentiment about how you should only attempt to
> > circumvent the restrictions on your user account if the computer is
> > yours or you have permission from the person whose computer it is.
> >
> > You can change your friend's account password and sign in to his account (and then use that to perform administrative tasks, or just use it to give yourself administrative privileges):
> > http://www.psychocats.net/ubuntu/resetpassword
> >
> > Alternatively, you could keep your friend's account password the same
> > and use a modified version of that procedure to simply give your account
> > administrative privileges. To do this, instead of running "password
> > username", run "usermod -a -G admin username" (replacing username with
> > the short name of your user account, as explained on that page).
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/ubuntu/+question/151702/+confirm?answer_id=2
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+question/151702
> >
> > You received this question notification because you are a direct
> > subscriber of the question.
>
> You received this question notification because you are a direct
> subscriber of the question.

Thank you I got it squared up with your assistance.
very much appreciated.
sincerely Bryan