LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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,
I´m 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.
 
Old 02-26-2022, 12:39 PM   #6
vishnug
LQ Newbie
 
Registered: Feb 2022
Posts: 1

Rep: Reputation: 0
Smile If unable to login through putty and able to login through console

Edit fstab

#vi /etc/fstab

Hash the mount point which is not the root filesystem


then take reboot

then unhash the mount points which we have done previous through fstab

#vi /etc/fstab

then mount all

#mount -a
 
Old 03-02-2022, 02:42 AM   #7
Toopi22
LQ Newbie
 
Registered: Feb 2022
Posts: 5

Rep: Reputation: 0
Smile Maybe Samba Config may help

I'm not sure if this applies or not since I'm a Newbie but I was having a terrible time accessing my shares from my windows computer. This video helped me solve my issue. https://youtu.be/8FkiOfEgyvM Even if it doesn't pertain, it was a great video and really informative. Best of luck!
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:17 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