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 09-20-2006, 10:35 AM   #1
hak_uc
LQ Newbie
 
Registered: May 2006
Posts: 13

Rep: Reputation: 0
Password problems


Hello

I seem to be having a unique problem with respect to passwords.
I have a SUN x20z server running Redhat ES 4.0.

The problem is this -
When i type in my correct password and then continue with a few more extra characters or as many as i want, the password is still accepted as correct.

Should it not abort saying it is a wrong password?

eg: if the password is abc123 - I could type 'abc123jhdjdsh' and it is still accepted and lets me login.

Why is this happening? Any help is appreciated.


Thank you
Kiran
 
Old 09-20-2006, 10:51 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
do you have shadow passwords enabled?
 
Old 09-20-2006, 11:14 AM   #3
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I have seen this on Sun OS/Solaris. In that case the login process only pays attention to the first eight characters entered and ignores the rest. I have no idea about Red Hat.

Red Hat should be using PAM. In that case you can look at your PAM configuration files to see what it is doing.

http://www.kernel.org/pub/linux/libs/pam/

http://www.us.kernel.org/pub/linux/l...-html/pam.html
 
Old 09-20-2006, 11:24 AM   #4
hak_uc
LQ Newbie
 
Registered: May 2006
Posts: 13

Original Poster
Rep: Reputation: 0
how do i check if shadow password is enabled?

Hi Nathan,

Not sure how to check if shadow passwords is enabled. I looked in /etc/shadow - anything there i should be looking for?


Quote:
Originally Posted by Nathanael
do you have shadow passwords enabled?
 
Old 09-20-2006, 11:52 AM   #5
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
first of all it's Nathanael!

secondly: googleing and searching this forum makes me believe you need to run authconfig
(that should be a hint to use google and to search this forum ... a friendly hint) :-)
 
  


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
Password Problems Miscasedpeas Linux - Newbie 1 08-02-2005 09:37 PM
Password problems on 5.04 backpackingbiker Ubuntu 4 06-27-2005 02:10 PM
password problems SlipAway172 *BSD 3 02-27-2005 07:49 PM
password problems DaveyB Linux - Newbie 3 08-15-2004 07:40 PM
password problems kevv Linux - Networking 2 12-30-2001 07:16 PM

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

All times are GMT -5. The time now is 12:20 PM.

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