LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-27-2006, 01:26 AM   #1
kguru
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
ssh login error


Hi all ,

I got an error regarding RHEL ES console logging in.
In console 5,i.e graphic console, login works normal.
But in text consoles,I had to enter the password twice for any user[including root] for succesfull login.
can anyone sort out this please???

And i was not able to login via SSH to this server.

Is this due to this twice password request??

thanks in advance
k.guru.
 
Old 03-27-2006, 03:24 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You might read through the pam config files.
For example, perhaps the use_first_pass option should be used in one of the subsequent configs.
example:
password required pam_unix2.so nullok use_first_pass use_authtok

Your description doesn't sound like an ssh login, but a local login.

Last edited by jschiwal; 03-27-2006 at 03:40 AM.
 
Old 03-27-2006, 05:10 AM   #3
kguru
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0
ssh login???

yea...the login error is for system login.
even though i add use_first_pass,it continue to ask passwd twice b4logging in successfully.i also getting password locked error even after repeated attempts of unlocking the passwords.

can any one sort out this plzz???
 
Old 03-28-2006, 03:54 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
One thing that might be possible, but I'm not certain, is that your password is too simple and fails a pam_cracklib test. Could you change your password to something you are certain would pass muster.

From the /usr/share/doc/packages/pam/README.cracklib on my SuSE machine:
Quote:
For example, you need to change the following lines in /etc/pam.d/passwd:

password required /lib/security/pam_pwcheck.so nullok
password required /lib/security/pam_unix2.so nullok use_first_pass use_authtok

to:

password required /lib/security/pam_pwcheck.so nullok use_cracklib
password required /lib/security/pam_unix2.so nullok use_first_pass use_authtok
Another possibility is a problem in typing it. I once changed my password at work, and had mistyped it (the same way) twice, so my new password had a typo in it that I needed to figure out before logging in again.
 
  


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
ssh login error Drunkalot Linux - General 8 10-06-2005 10:26 AM
ssh login only with ip CloudBuilder Linux - Networking 3 07-31-2005 11:20 AM
SSH Login | Need help !! xedios Linux - Software 0 12-21-2004 12:16 PM
ssh login error - unknown command atom Linux - Software 3 05-12-2004 04:37 PM
ftp login -- ssh no login waffe Linux - General 4 12-27-2003 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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