LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-30-2011, 01:40 AM   #1
srinivasmmdl
Member
 
Registered: Aug 2011
Posts: 49

Rep: Reputation: Disabled
forgot password


i forgot my user password on fedora core 15

how to recover that password

please provide some infomation
 
Old 09-30-2011, 02:06 AM   #2
varunb
Member
 
Registered: Mar 2011
Location: Bangalore, INDIA
Distribution: opensuse, fedora
Posts: 135
Blog Entries: 1

Rep: Reputation: 1
Wink

Quote:
Originally Posted by srinivasmmdl View Post
i forgot my user password on fedora core 15

how to recover that password

please provide some infomation

Hey login as super user i mean root user
and type the below command

passwd <user name>
 
Old 09-30-2011, 02:12 AM   #3
Timothy.u
Member
 
Registered: Aug 2011
Location: Lithuania
Distribution: Slackware, Debian, Archlinux
Posts: 44

Rep: Reputation: Disabled
Hey,

If u want to recover password, I mean u want to know what exactly password was, u need to get hashed password from /etc/shadow and line where user is and try to unhash it, but it doesn't always work, if u had difficult password before. And if u want just recover user follow varunb setup. In case u forgot your root password... That's harsh^^, when u reboot your pc, go to edit menu of Grub or Lilo, and to the booting image "LinuxOVZ(or smthng like that" append that line "single rw init=/bin/bash", once u get in, just run passwd.
 
Old 09-30-2011, 03:22 AM   #4
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
There is a simple solution just login to the single user shell

If you have a dvd of your OS then it is much easier or else

when you start your machine just enter the grub menu where you will find three options
Code:
1. root (hd0,0)
2. kernel /vmlinuz-x.x.x.x ro root=LABEL=/1
3. initrd /initrd-x.x.x..img
Just go the 2. option and press e

you will enter the edit mode

give a space at the end of line and write 1

hit enter, exit and boot

you will boot in single user shell

when you get a shell to work on type following commands

Code:
# cd /mnt/sysimage/

#chroot /mnt/sysimage

this will give you the root authentication to change password

then

Code:
#passwd
give your new password
good luck
 
1 members found this post helpful.
Old 09-30-2011, 07:02 AM   #5
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
On redhat or fedora systems just boot to runlevel 1 (post above) and the system boots to a root console where you can run passwd.
 
Old 09-30-2011, 11:17 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,349

Rep: Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910
Quote:
Originally Posted by srinivasmmdl View Post
i forgot my user password on fedora core 15

how to recover that password
please provide some infomation
This is the THIRD TIME you've asked the same question. The answers/solutions haven't changed.
http://www.linuxquestions.org/questi...ssword-903026/
http://www.linuxquestions.org/questi...ssword-900808/

Are you not reading/following the replies you're getting in your other threads? Why ask the same question multiple times in the span of a month? If you know the root password, you can obviously just log in as root and change your user password. If you DON'T know the root password, follow one of the MANY replies you've got in your other threads, and reset it.

Last edited by TB0ne; 09-30-2011 at 11:20 AM.
 
  


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
forgot my password acshivers828 Linux - Newbie 2 11-22-2010 06:49 PM
Forgot password. Please help. larryalk Slackware 4 05-05-2010 05:35 AM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 05:11 AM
Forgot my Password khattaking Solaris / OpenSolaris 2 07-20-2006 01:33 PM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 08:36 PM


All times are GMT -5. The time now is 10: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration