- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Cannot Login as any user including Root
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2008 02:26 AM
тАО04-30-2008 02:26 AM
I have just ran up2date on the installation to bring it to RH4 Update 4.
The update seemed to work fine and upon reboot all services look to have started.
The issue i have now is that at the login GUI, i try to login in as root and receive a popup message saying "Authentication Failed". If i try to login as any other user or enter the wrong root password in i get the usual Invalid Username/Password message.
Any help is greatly appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2008 02:33 AM
тАО04-30-2008 02:33 AM
Re: Cannot Login as any user including Root
If it's just authentication - the boot your station into init 1 see what happens.
Do you use authentication services or all accounts were local?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2008 02:38 AM
тАО04-30-2008 02:38 AM
Re: Cannot Login as any user including Root
I get no errors regarding missing libraries - just the pop up saying 'Authentication Failed'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2008 02:39 AM
тАО04-30-2008 02:39 AM
Re: Cannot Login as any user including Root
You may have to reboot using the login GUI's reboot option (if it has one) or by pressing Ctrl-Alt-Del on the console. Both these methods should cause an immediate reboot in a controlled fashion if the system is in default configuration.
When you get to the bootloader screen, interrupt the automatic boot (press any key).
You now have several possible ways to go on:
- boot to single user bypassing any authentications by using boot option "init=/bin/bash". NOTE: if you use this approach, remember to mount the root filesystem in read/write mode before trying to change anything.
- boot from RedHat installation CD using the "rescue" option. This is a more user-friendly way to regain access to the system. The rescue mode should automatically detect the installed system and mount it as a sub-tree of the installation/rescue environment. You can then examine (and if necessary, change) any configuration files.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2008 02:46 AM
тАО04-30-2008 02:46 AM
Re: Cannot Login as any user including Root
I intend using the rescue cd and doing as you suggested. Do you have any idea what the files are I should be looking at?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2008 05:35 AM
тАО05-01-2008 05:35 AM
SolutionIf not, try switching to a non-GUI virtual terminal. X usually runs on virtual console 7, so if you're at the console and you press control-alt-F1 (as in the function key, F1) you'll get switched to virtual console 1 and have a simple non-graphical login prompt. I suggest this because your problem could affect only GDM (the graphical login system).
As for what files to look at if you reboot, I'd suggest doing an updatedb followed by 'locate rpmsave; locate rpmnew'. Also see /var/log/messages and /var/log/secure and any other files recently updated in /var/log (hint: ls -ltr /var/log and work backwards).
The authentication and authorization processes for all services are controlled by the files in /etc/pam*, so changes (if there were any) could also cause such symptoms.
Of course none of this would be *expected* as a result of a sucessful run of up2date...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2008 09:26 PM
тАО05-01-2008 09:26 PM
Re: Cannot Login as any user including Root
Check the file in /etc/pam.d/login. this is for authentication.