Linux - GeneralThis 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.
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.
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.
There is less than 12 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I recently installed CentOS. The installation was smooth but on booting (the very first time) I am not able to get past the login screen. If the password is incorrect, it mentions "authorization failure". But if it is correct the login screen disappears for a second but returns to ask for login again. It is a login recycling. I also tried control-alt-F1 and F2 etc. I get a terminal but there also the login is coming back every time. It happens even if I try to login as root. I have not been able to login to this newly installed distro even once, though I can access it through another distro installed on the same computer. Any help will be appreciated.
Have you tried chrooting to that install from the other one? I installed debian from within an already running distro, and the guide skips the step where you set a root password. And a few other admin steps that actual installers normally handle for you. So you could chroot to that distro and run `passwd` as root to set a root password. And then see if you can login with the new password.
Have you checked the /var/log/ elements from the other distro for that one to see if there's any hints as to why it does what it does?
Normally when I get things like that I start questioning hardware. A spot on the disk that didn't write what it was supposed to write? Bad ram that causes random behavior and other things. Did the install go flawlessly? No power blinks or overheating influences? Integrity checks of the storage medium before installation? It could be any one of a thousand different things or a combination of them. And unless you happen upon the one thing that fixes the issue you'll never really know for sure. Most times it's just faster to do the install again than to troubleshoot the issue.
Are we talking something old or with relatively low available RAM? Without swap it is possible to trigger the kernels defenses even during an install. Not everything plays that well in confined spaces these days.
var/log/messages and Xorg.0.log are large files. The system is fairly recent with one Tb hard disk, 4gb RAM and nvidia graphics card. I see nouveau in log files. Swap is there on the hard disk. Installation was uneventful.
Sounds to me like the password is correct and the user account logs in, but is immediately kicked back out again. Is this a graphical or text based login? If graphical, try logging the user in from a text based console (Ctrl+Alt+F1) and see if any error messages are displayed. If this is a text based login, check what shell the user has in /etc/passwd (last field of the /etc/passwd line for that user account).
The system boots normally till login screen. It is graphical login. However, on going to terminal (control-alt-F2) the same problem is repeated: as soon as the password is entered, it immediately clears the screen and returns to login prompt. If incorrect password is entered, then error message is displayed, otherwise there is no error message.
The shell is /bin/bash, both for root and for user.