LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-13-2009, 04:02 AM   #1
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Rep: Reputation: 17
Not able to login to server thru console but able to login via network using putty


Hi

I am not able to login to server from console attached to server, every time i enter username & password but it again asks for username & password.
But when i try to login to server from remote machine, login happens properly.

Cant understand whats gone wrong.
 
Old 03-13-2009, 04:09 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
Are you using root user to login or some other user for that?
Have you made changes to passwd file to not allow the user to login?
Are you using PAM authentication?
 
Old 03-13-2009, 04:21 AM   #3
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by linuxlover.chaitanya View Post
Are you using root user to login or some other user for that?
Have you made changes to passwd file to not allow the user to login?
Are you using PAM authentication?
i am trying thru root user.
no changes are made to passwd file
In /etc/pam.d/sys-auth file i have added
password requisite /lib/security/$ISA/pam_cracklib.so retry=3 minlen=8 lcredit=-1 ucredit=-1 dcredit=-1 ocredit=-1
but this parameter is for password aging
 
Old 03-30-2009, 01:51 AM   #4
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Original Poster
Rep: Reputation: 17
issue resolved
i had oracle 10g installed on my system & while installing i added entries to /etc/pam.d/login

session required /lib/security/pam_limits.so

but as my server is 64 bit so i had to add enrty in /etc/pam.d/login

session required /lib64/security/pam_limits.so

so as i made entries

#session required /lib/security/pam_limits.so
session required /lib64/security/pam_limits.so

i was able to login properly.
anyways thanks for the support
 
1 members found this post helpful.
Old 01-12-2010, 10:27 AM   #5
mig28mx
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
I have the same problem

Hello,
Im facing the same problem and I have added that line on my /etc/pam.d/login

It will be neccesary to restart a service or reboot the server?

Thank you in advance.
 
  


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
users cant able to login in any console,but root can login. skumar.v Linux - Security 1 04-19-2008 06:57 AM
Console login not responding after lost network twk Linux - Server 2 10-13-2007 12:56 AM
putty ssh login in Linux server alexz Linux - General 5 06-08-2007 12:22 PM
how to enable root login on console when LDAP server is down ldapsky Linux - Networking 0 05-06-2006 07:27 PM
Killing X Server is giving me login window not console Tanc Linux - Newbie 4 10-07-2004 02:24 AM


All times are GMT -5. The time now is 02:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration