LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Closed Thread
  Search this Thread
Old 11-23-2010, 07:20 PM   #1
Rahil Parikh
LQ Newbie
 
Registered: Nov 2010
Posts: 15

Rep: Reputation: 0
Unhappy Password Complexity using PAM FAILS and shows no effect


Hello,

I am new to unix systems. I have an assignment in which I need to implement a password complexity on CentOS 3 Server. The PAM is installed in it. The requirements are as follows -
  1. It should be 8 Char long
  2. Should have atleast one lowercase, one uppercase, and one numerical char

I read many how-to and tutorial and came to conclusion that I need to edit /etc/pam.d/system-auth to get my work done. I also found out that I need to use pam_cracklib for that purpose.

Following is the screenshot of my system-auth file. http://img25.imageshack.us/img25/1508/centos.png

Now when I try to change the password of user account with weak password like 'passws' (without quote) it accepts which ideally it should not.

I need to use this version of CentOS for this assignment. So I can not upgrade it. Other thing is I do not know if my system uses PAM or not though it has /etc/pam.d dir.

Please help me with it.

Thanks,
Rahil

Last edited by Rahil Parikh; 11-23-2010 at 07:22 PM.
 
Old 11-24-2010, 07:28 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,610

Rep: Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139
Don't post the same question in multiple forums. Reported.
 
Old 11-24-2010, 07:30 AM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of your original one here:
http://www.linuxquestions.org/questi...module-846206/

If you would like your original thread moved to a different forum location, please use the REPORT button on your first post in a thread, and ask a moderator to move it for you.

Thank you.
 
  


Closed Thread


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
bash script to test string complexity (like password complexity) robertjinx Linux - Server 2 05-12-2010 02:58 PM
password complexity pasupuleti Linux - Security 18 09-24-2006 01:07 PM
password complexity moinpasha Linux - Security 11 09-13-2006 10:53 PM
password complexity moinpasha Programming 1 09-12-2006 05:24 AM
Setting password complexity Harry Seldon Linux - General 1 08-04-2006 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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