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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-20-2003, 01:53 AM
|
#1
|
Member
Registered: Aug 2003
Location: Daytona Beach, FL
Distribution: Gentoo and FC3
Posts: 65
Rep:
|
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
|
|
|
08-20-2003, 02:02 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
How did you change the passwords once in rescue mode (nice job getting to that point btw)?
Cool
|
|
|
08-20-2003, 02:07 AM
|
#3
|
Member
Registered: Aug 2003
Location: Daytona Beach, FL
Distribution: Gentoo and FC3
Posts: 65
Original Poster
Rep:
|
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!
|
|
|
08-20-2003, 02:28 AM
|
#4
|
Member
Registered: Aug 2003
Location: Daytona Beach, FL
Distribution: Gentoo and FC3
Posts: 65
Original Poster
Rep:
|
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
|
|
|
08-20-2003, 03:18 AM
|
#5
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
Suggest you keep the MD5 and Shadow password options.
|
|
|
08-20-2003, 12:40 PM
|
#6
|
Member
Registered: Jul 2003
Location: London
Posts: 548
Rep:
|
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].
|
|
|
08-20-2003, 12:49 PM
|
#7
|
Member
Registered: Apr 2002
Posts: 549
Rep:
|
did any of the new packages u installed scr*w up your PAM configuration, I wonder?
|
|
|
All times are GMT -5. The time now is 04:37 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|