LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-20-2007, 07:15 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Password Recovery


Is it possible in Ubuntu to recover the system password by going to the grub menu selections screen and selecting the image and pressing "e" and then select the kernel and press "e" and then adding "s" at the end of the line and then "b" to boot?

I know this works on RHEL/Fedora but not sure about Ubuntu.

I only have one account on this machine (not including root) and forgot the password...

Any assistance is greatly appreciated.
 
Old 02-20-2007, 07:18 PM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
I think that you can just choose the safe mode option in grub, then change the password for your user. I'm not positive this will work though.
 
Old 02-20-2007, 07:21 PM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yes, but if you know root's password then as root reset/change the users password;

passwrd username
newpassword
newpassword
 
Old 02-20-2007, 07:23 PM   #4
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
A default install of Ubuntu doesn't have an active root account. It uses sudo instead.
 
  


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
password Recovery Pranay Ranjan Linux - Newbie 9 11-20-2006 03:07 AM
Password Recovery With Jack Permaximus Linux - Security 1 05-02-2005 08:20 AM
Password Recovery rockfort Linux - Security 11 02-02-2005 06:12 AM
password recovery JesseMor Linux - Security 2 09-10-2004 06:18 PM
Password recovery mikeshn Linux - Security 1 09-08-2002 09:50 AM

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

All times are GMT -5. The time now is 08:08 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