LinuxQuestions.org
Help answer threads with 0 replies.
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 05-22-2004, 01:36 AM   #1
plexus
LQ Newbie
 
Registered: Feb 2004
Location: Singapore
Distribution: Windows XP, RedHat 9
Posts: 16

Rep: Reputation: 0
Question Configuring /etc/pam.d/passwd module


Hi all

I'm using RH9 and am facing some problems configuring my /etc/pam.d/passwd file.

I am trying to restrict the users such that when they change their password, it must be of minimum 10 characters.

Here's how my /etc/pam.d/passwd file looks like

Code:
auth		required	pam_stack.so service=system-auth
account		required	pam_stack.so service=system-auth
#password	required	pam_stack.so service=system-auth

# My own additions
password	required	/lib/security/pam_cracklib.so retry=3 minlen=10
password	required	/lib/security/pam_pwdb.so md5 use_authtok
I commented out the 3rd line if you noticed.

Any idea?

Last edited by plexus; 05-22-2004 at 01:39 AM.
 
Old 05-25-2004, 03:09 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Put the cracklib line in /etc/pam.d/system-auth.
 
Old 05-25-2004, 07:55 PM   #3
plexus
LQ Newbie
 
Registered: Feb 2004
Location: Singapore
Distribution: Windows XP, RedHat 9
Posts: 16

Original Poster
Rep: Reputation: 0
Alright. It's working now.

Thanks unSpawn
 
  


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
Is there an easy way of configuring pam in linux? ravee Linux - Security 2 10-22-2005 08:50 AM
PAM problem with module pam_time.so giacomolg Linux - Security 1 11-27-2004 07:50 AM
configuring pam digsby0007 Linux - Software 0 08-11-2004 01:04 PM
ProFTPd. Authenticating using /etc/passwd instead of PAM wenberg Linux - Software 2 01-04-2004 10:14 AM
/etc/pam.d/passwd leandrop Linux - Security 1 09-30-2003 01:06 PM

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

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