LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-14-2013, 12:17 AM   #1
fshah
Member
 
Registered: Apr 2013
Posts: 45

Rep: Reputation: 0
Question Root passsword Changed


Helo friends

I forgot root password on my my ubuntu linux 12.04. plz help me how can i reset root password.

farooq
 
Old 05-14-2013, 12:41 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
just try to google or look at the similar threads (bottom)
 
Old 05-14-2013, 10:18 AM   #3
Janus_Hyperion
Member
 
Registered: Mar 2011
Location: /
Distribution: Fedora (typically latest release or development release)
Posts: 372

Rep: Reputation: Disabled
See if this works for you - http://www.psychocats.net/ubuntu/resetpassword

Also, there is usually a lot of very good information on ubuntu wiki that might also be helpful.

Last edited by Janus_Hyperion; 05-14-2013 at 10:20 AM.
 
Old 05-14-2013, 12:46 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Ubuntu has no root password by default, but uses sudo, so you should be able to get a root-shell with
Code:
sudo -i
using your normal user's account and password.
 
1 members found this post helpful.
Old 05-14-2013, 09:52 PM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by fshah View Post
I forgot root password on my my ubuntu linux 12.04. plz help me how can i reset root password.
Do you mean that you have enabled the root account on Ubuntu and forgotten the root password? Or do you mean that you have forgotten the first user (i.e., the user account that you used to install Ubuntu??) password that you would use with sudo?
If you forgot your sudo user password, use the psychocats link that nonamedotc provided in post #3 in this thread.
If you mean that you enabled the root account on Ubuntu, and now you have forgotten your root password, then continue reading this ...

Be advised that enabling the root account on Ubuntu is not recommended: https://help.ubuntu.com/community/RootSudo
I have used every version of Ubuntu since the inaugural 4.10. I have never found any need or reason to enable the root account on Ubuntu.
I also never have these problems!

If you have enabled the root account and forgot the password for the root account and want to disable the root account account and return to using sudo for admin privileges, see this:
http://askubuntu.com/questions/9017/...-root-password
Quote:
Note that normally there is no good reason to set a password for root. ...
To undo this and re-disable the root account, you can run sudo passwd -dl root
Write back if you need more help!

Last edited by tommcd; 05-14-2013 at 09:57 PM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Root partition changed to /dev/root mdg Linux - Software 9 02-19-2010 12:03 AM
Sambe Login, passsword not requested rcrosoer Linux - Networking 3 02-26-2009 05:23 AM
i'm being ask for proxy login passsword johnice89 Linux - Newbie 3 03-31-2008 04:42 AM
Passsword Policies sachinh Linux - General 4 02-06-2008 05:51 AM
Help Root password changed!!! UmneyDurak Fedora 4 09-28-2004 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration