LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-15-2003, 09:09 PM   #1
BoboBrazil
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Rep: Reputation: 0
Login/Password problems


Hi! I'm having trouble logging into my Linux machine. It's not taking any ID/Password. I'm getting a message that the password is incorrect. The only way that I can get in is to create other ID's and get in, but I can't log back in as that person. Reinstall? Any ideas? Thanks!
 
Old 07-15-2003, 09:14 PM   #2
Ekpyrotic
Member
 
Registered: Jul 2003
Distribution: Mandrake, Debian, Fedora, Gentoo (almost)
Posts: 57

Rep: Reputation: 15
I had the same problem. What distribution/version are you using?
With Mandrake 9.1 you specify the root password and add users in the install process, so if that's what you've got I'd try reinstalling.

Actually, reinstalling is probably your best bet whatever distribution you're using.

Then again, I'm kinda new at Linux myself so there might be an easier way.
 
Old 07-16-2003, 08:48 AM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
First, you need to take a look at the /etc/passwd and /etc/shadow files. They may have gotten corrupted.

You may try booting the system into Runlevel 1, and fix the problem from there.
 
Old 07-16-2003, 01:39 PM   #4
BoboBrazil
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks but how would I fix this if the file's corrupt? (Newbie question, I know, but any advice or direction would help).
 
Old 07-16-2003, 02:14 PM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Wait...

If you get a message that the password is incorrect, how are you able to login and create a new user account ?
Which user account are you using to login?

Also,
Which Linux distribution (RedHat, Mandrake, SuSe, etc)
and which bootloader (Lilo or Grub) are you using ?


P.S. I may have misunderstood your question... I'm currently tired.
 
Old 07-17-2003, 07:44 AM   #6
BoboBrazil
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I'm using Red Hat and it's a single boot. The deal is that I can't get Root! The only way that I could get in as root was to keep trying for 30 minutes or so of trying to login and then rebooting and doing this over and over. I was able to get in and I created a few accounts but I can only get into one. I could get in as root when I originally installed it and once afterwards (mentioned above). I'm using 6.2 (that's the only thing I had at home) but I'm getting RH 9 today and maybe this will fix this problem...
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
login and password qlrpedro Programming 0 11-30-2005 08:11 AM
Login & password problems sitka Mandriva 9 08-04-2005 08:25 PM
Login and Password sam1234 General 3 05-12-2005 06:18 PM
Login problems, cant enter password pdigga Linux - Newbie 1 04-20-2004 09:10 PM
login problems after username and password safra Linux - Newbie 6 07-01-2002 01:35 PM


All times are GMT -5. The time now is 03:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration