LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2008, 12:01 PM   #1
Bethelhem1
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
what to do if you forget a passward


hi
> I have a question regarding pasword .
> I have a computer that has the ubuntu on it. and I forgot my
passoward so xan you pleases help me with the recovery of the passward pleae
 
Old 05-20-2008, 12:08 PM   #2
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Quote:
Originally Posted by Bethelhem1 View Post
hi
> I have a question regarding pasword .
> I have a computer that has the ubuntu on it. and I forgot my
passoward so xan you pleases help me with the recovery of the passward pleae
Did you forget the "root" password, or just the user password?

If you can login as root, you can run "passwd <username>" to reset a user's password.

If you forgot the root password, you can boot the machine into single user mode and reset the root password from there.
 
Old 05-20-2008, 07:46 PM   #3
fbianconi
Member
 
Registered: Apr 2008
Location: argentina
Distribution: Arch
Posts: 86

Rep: Reputation: 22
ubuntu has no root password, by default the account is disabled.
you can try this (not sure if it works, but might/should/could)
1. boot ubuntu livecd
2. mount /dev/sda1 /mnt
3. chroot /mnt/disk
4. passwd yourusername
sudo on livecd has no password
 
Old 05-20-2008, 09:21 PM   #4
eggixyz
Member
 
Registered: Apr 2008
Posts: 310

Rep: Reputation: 30
Hey There,

The initial setup for my box would let me do:

Quote:
sudo passwd root
just enter your own user password after that.

Best wishes,

Mike
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ssh: passward denied Sulman Shah Fedora 5 01-16-2007 07:49 AM
Pass SCP User passward in shell program michaelyu33 Programming 3 03-18-2005 01:15 PM
Passward imsajjadali Red Hat 0 07-05-2004 11:28 AM
Passward Change Script imsajjadali Red Hat 0 06-26-2004 01:23 AM
what did I forget to do kenoki Linux - Networking 9 07-08-2003 10:40 AM


All times are GMT -5. The time now is 10:39 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration