LinuxQuestions.org
Visit Jeremy's Blog.
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-25-2009, 10:24 AM   #1
fredbear
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Rep: Reputation: 0
passwords lost


Hi all, I am totally new to Linux. Son in law gave me an oldish laptop and preinstalled lots of software for me to get on with.He also set some passwords and user name which we wrote down. Now this was some ten months ago, and, yes, we have lost the passwords and username.Is there a way to get into the system to change these or do I have to reload everything in again.(Son in law lives 75 miles away) The machine tells me it has Fedora installed and also Red hat? I thought they were the same.
I normally run a RISC OS machine.

Regards to all,

fredbear.
 
Old 09-25-2009, 12:04 PM   #2
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
first of all reset your root (admin) password..
this topic is discussed many times in this forum..try following link.it might help
http://www.linuxquestions.org/questi...ssword-755262/
 
Old 09-25-2009, 12:07 PM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,132

Rep: Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313
All is not lost! You can reset the passwords.

Firstly, you need to set the root password, used when you are wearing your system administrators hat. There's a good illustration of how to do that at
http://linuxgazette.net/107/tomar.html

When you've followed the instructions and rebooted, you can set a new user password. Your user name is usually your first name in lowercase, but it's up to you. When you've logged-in as root, click on the Computer icon, then on File System and Home, and you can see what name has been used. If fred, then open a terminal window and use the command
passwd fred
to set a new password.

If you have a recent version of Fedora, it may not let you log-in as root user with the GUI. In that case, when it asks you to log-in, press CTRL-ALT-F2 and you will (after a few seconds) get a black screen where you can log-in. Then type
ls /home
to find your user name and use passwd.
 
Old 09-25-2009, 04:40 PM   #4
fredbear
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Hi, I have tried to find the screen to enter the code given by
linux gazette, but find every time I press return I get an error 27. I don't seem able to get to the screen shown in the above instructions. I will try again tomorrow.

Dave.
 
Old 09-26-2009, 05:06 PM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,132

Rep: Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313
The screen you need to see is the second one, headed GRUB. If you don't get it, the moment the BIOS screen (inviting you to press F2 to edit) goes blank, start tapping SPACE and that should reveal it.

If you have the original Fedora DVD, you could run that: instead of installing, choose the rescue option.
 
Old 09-27-2009, 08:19 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
When you say 'we' lost the passwds, is that just you at home, ie have you asked your son-in-law if he can remember any passwds; the root (aka admin) passwd would be favourite, and I'd think he'd remember that one, if any.
 
Old 09-28-2009, 08:26 AM   #7
siaswar
Member
 
Registered: Aug 2009
Distribution: xubuntu
Posts: 39

Rep: Reputation: 16
Yes, If boot loader (Grub) is unprotected, you can resolve your problem with:

http://www.linuxforums.org/articles/...ssword_54.html

Last edited by siaswar; 09-28-2009 at 08:27 AM. Reason: for right sentence
 
Old 09-28-2009, 09:30 AM   #8
fredbear
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by DavidMcCann View Post
The screen you need to see is the second one, headed GRUB. If you don't get it, the moment the BIOS screen (inviting you to press F2 to edit) goes blank, start tapping SPACE and that should reveal it.

If you have the original Fedora DVD, you could run that: instead of installing, choose the rescue option.
After several tries, I have a black screen, Typing 1s /home gives me
Another black screen with

Fedora release 8(Warewolf)
Kernel 2.6.26.6-49.fc8 on an i686
Local host login:
tried putting allsorts of things here and keep getting password
which I guess, and get log in incorrect.

According to son in law the root password in my name which I have tried without success.

Thank you for trying to help,my knowledge isnt helping a lot.
 
Old 09-28-2009, 01:27 PM   #9
fredbear
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
When you say 'we' lost the passwds, is that just you at home, ie have you asked your son-in-law if he can remember any passwds; the root (aka admin) passwd would be favourite, and I'd think he'd remember that one, if any.
He says it is my name! Tried putting it in but no effect.have got that black screen with local host login but stumped as to where now? regards.
 
Old 09-28-2009, 01:56 PM   #10
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
Quote:
Originally Posted by fredbear View Post
He says it is my name! Tried putting it in but no effect.have got that black screen with local host login but stumped as to where now? regards.
You just tell him to mail you the root password. As passwords are case sensitive you'd make mistake

Last edited by j_jerry; 09-28-2009 at 01:58 PM.
 
Old 09-28-2009, 02:51 PM   #11
knockout_artist
Member
 
Registered: Sep 2005
Distribution: fedora core 9
Posts: 324

Rep: Reputation: 33
Should he not start machine single user mode to reset the pass-word?
 
Old 09-28-2009, 04:37 PM   #12
fredbear
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
How do I start single user mode? and how would I recognise it if it did start?
Regards.
 
Old 09-28-2009, 04:38 PM   #13
fredbear
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
What is the very first basic stuff I need to read with Linux?
 
Old 09-28-2009, 05:17 PM   #14
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
you mean reading files (configuration, text, etc.)? just login. Are you yet able to login?
 
Old 09-28-2009, 06:06 PM   #15
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
0. Take a deep breath & relax


1.
Get him to email/tell you the exact(!) root login details; should be

login: root
password: xxxxxxxxxxxx

where xxxxxxxxxxx is the root user's passwd. Both username & password are case sensitive(!) in Linux; in fact everything is case sensitive at the cmd line level.

2.
Basic Linux manuals:
http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html

3. If you've got the installation DVD/CD, you can rescue a system from there, but you prob want him to talk you through it over the phone.

HTH
 
  


Reply

Tags
help


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
how to convert user passwords and group passwords using pwconv? dolceinter1 Linux - Security 2 11-04-2008 10:03 PM
My browser Lost Saved Passwords rabeea General 2 09-07-2005 02:58 PM
Completely uninstalling MySQL and its passwords passwords...how? I locked myself out! Baix Linux - Newbie 2 01-30-2005 04:10 PM
Lost passwords, how can I get back in? Skidlid Red Hat 10 09-22-2003 01:05 AM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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