LinuxQuestions.org
Register a domain and help support LQ
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, 02: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 02:39 AM.
 
Old 05-25-2004, 04:09 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,790
Blog Entries: 54

Rep: Reputation: 2979Reputation: 2979Reputation: 2979Reputation: 2979Reputation: 2979Reputation: 2979Reputation: 2979Reputation: 2979Reputation: 2979Reputation: 2979Reputation: 2979
Put the cracklib line in /etc/pam.d/system-auth.
 
Old 05-25-2004, 08: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


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


All times are GMT -5. The time now is 08:21 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration