LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-21-2010, 06:13 AM   #1
ashwin_cse
Member
 
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134

Rep: Reputation: 22
unable to login from console f1 to f6. But able to login into GUI in f7.


Hi,

I am using rhel 5.3. I am using windows 2003 server 32-bit (the processor is 64 bit. AMD athlon x2). I have installed vmware and installed rhel5.3 64 bit on top of it. Now i am able to login as root from GUI mode (f7 console), but unable to login in text console from f1 to f6. I checked the /etc/securetty. But there was nothing unusual there. I think udev is causing this problem, since google said so. I cant find where the udev.rules file is located that google searches are taking about. How do i enable root login in f1-6 console.

with regards,
ashwin_cse
 
Old 04-22-2010, 07:00 AM   #2
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Root login is/should be enabled by default. I never heard of this issue (on regular RHEL). So I would say that issue is with WMVare (keyboeard shortcuts?).

Maybe you should try VirtualBox, I like it better then WMVare.
 
Old 04-22-2010, 07:03 AM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
I think udev is causing this problem
Why?

What's in /var/log/secure after you try to log in?

Quote:
Maybe you should try VirtualBox, I like it better then WMVare.
What does this have to do with his problem?
 
1 members found this post helpful.
Old 04-22-2010, 09:04 AM   #4
ashwin_cse
Member
 
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134

Original Poster
Rep: Reputation: 22
Thank you AlucardZero for pointing me to /var/log/secure. I put tail -f of that file and try out the login problem. It seems the PAM module has gone corrupt. Below is the log after the simulation.

Code:
Apr 22 19:22:14 nandionline login: PAM unable to dlopen(/lib/security/pam_limits.so)
Apr 22 19:22:14 nandionline login: PAM [error: /lib/security/pam_limits.so: wrong ELF class: ELFCLASS32]
Apr 22 19:22:14 nandionline login: PAM adding faulty module: /lib/security/pam_limits.so
Apr 22 19:22:15 nandionline login: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Apr 22 19:22:15 nandionline login: Module is unknown

I try to Google and fix this problem. As we now know where is the issue it should be pretty straight forward to fix it. Thank you very much for point to secure file. I will also post the fix i made once i get the solution.
 
Old 04-22-2010, 09:26 AM   #5
ashwin_cse
Member
 
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134

Original Poster
Rep: Reputation: 22
Solved

Thank all, The issue is solved. I changed the line in /etc/pam.d/login from
Code:
session required /lib/security/pam_limits.so
to
Code:
session required /lib64/security/pam_limits.so
then it started working fine. This is because some stupid asshole has modified this line for installing oracle and that has screwed up the login.

Thanks AlucardZero
 
  


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
Want non-GUI Login Screen on Console debsys07 Linux - General 3 10-20-2009 07:11 PM
Unable to login via console or SSH predatorz Fedora 8 01-07-2008 12:17 AM
Unable to login via console or SSH predatorz Linux - General 3 01-05-2008 07:23 AM
Unable to login using GUI lgtrean Linux - Newbie 4 01-27-2007 02:58 PM
Unable to login via console bug1124 Linux - General 1 12-17-2004 06:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:15 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
Open Source Consulting | Domain Registration