LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2003, 12:53 AM   #1
BrettPower
Member
 
Registered: Aug 2003
Location: Daytona Beach, FL
Distribution: Gentoo and FC3
Posts: 65

Rep: Reputation: 15
Exclamation Can't login under any username


Hope somenody can help here.

I have installed RH9, and have also installed tons of additional packages and software.

I just finished setting up SAMBA, and am having loads of problems. I can no longer login as root, or as any other user. A message keep saying that my username or password is incorrect. Since I know that i didn't change any username or password, especially root, what happened, and how do I fix it???


I am currently booting off of CD1, using the "linux rescue" option. I have changed the password on all accounts, including root, but still nothing. I kepe getting a message that says ""Authentication failed". What the heck is this?

Thanks,
Brett
 
Old 08-20-2003, 01:02 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
How did you change the passwords once in rescue mode (nice job getting to that point btw)?

Cool
 
Old 08-20-2003, 01:07 AM   #3
BrettPower
Member
 
Registered: Aug 2003
Location: Daytona Beach, FL
Distribution: Gentoo and FC3
Posts: 65

Original Poster
Rep: Reputation: 15
at the promt in rescue mode, i typed in chroot /mnt/sysimage. After that, you get permission to mess with usernames and passwords via the "adduser" "passwd" commands.

I just need some serious help here. I have spent three days over the course of about 15 hours of work loading stuff on my machine. I don't want to have to reload this darn thing.

I am pretty darn sure that somewhere when I was setting up SAMBA I told the Linux to validate usernames and passwords with a network server. And since there is not one, no username or password can get validated.

HELP!
 
Old 08-20-2003, 01:28 AM   #4
BrettPower
Member
 
Registered: Aug 2003
Location: Daytona Beach, FL
Distribution: Gentoo and FC3
Posts: 65

Original Poster
Rep: Reputation: 15
Got it working!!!!!

Here are the steps i took to fix it;

1. Boot off of CD1

2. Type in "linux rescue" at the first prompt

3. Type in "chroot /mnt/sysimage" at the prompt

4. Type in "authconfig"

5. Turn off all authentication options

-Brett
 
Old 08-20-2003, 02:18 AM   #5
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 49
Suggest you keep the MD5 and Shadow password options.
 
Old 08-20-2003, 11:40 AM   #6
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Quote:
Originally posted by ppuru
Suggest you keep the MD5 and Shadow password options.
unless you're using NIS, in which case I'm told that there'll be some problem [or at least, the install on Debian says so].
 
Old 08-20-2003, 11:49 AM   #7
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
did any of the new packages u installed scr*w up your PAM configuration, I wonder?
 
  


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
Cannot login without Username, help! utcltjay Linux - General 1 09-06-2005 05:18 PM
Live CD login Username/Password??? Anthony1uk Linux - Newbie 3 06-03-2005 11:01 AM
How to login w/o username and pw liubhs02 Fedora - Installation 1 06-01-2004 09:27 AM
How to login w/o username and pw? liubhs02 Linux - Newbie 2 06-01-2004 08:26 AM
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 12:47 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