LinuxQuestions.org
Visit the LQ Articles and Editorials section
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

Closed Thread
 
Search this Thread
Old 02-20-2004, 03:16 AM   #1
bin_shell
Newbie
 
Registered: Dec 2003
Posts: 19

Rep: Reputation: 0
How to set the password policy and lockout policy


I want to know the password policy and lockout policy,such as min length,complex requirement.lockout counter
 
Old 02-23-2004, 04:09 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,947
Blog Entries: 54

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
AFAIK it's /etc/login.defs which is deprecated on PAM enabled systems (/etc/pam.d).
 
Old 03-24-2010, 09:54 AM   #3
smartyshan
LQ Newbie
 
Registered: Jun 2007
Location: Riyadh,KSA
Distribution: Redhat,Ubuntu,Solaris
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by bin_shell View Post
I want to know the password policy and lockout policy,such as min length,complex requirement.lockout counter
you can use pam_passwdqc module in /etc/pam.d/system-auth file

for example :

password required pam_passwdqc.so min=disabled,12,8,6,5 max=40
 
Old 03-24-2010, 10:31 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
For locking out users after a certain number of failures, look at pam_tally. Also look at man 8 faillog.
 
Old 03-24-2010, 03:30 PM   #5
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
smartyshan, please don't resurrect dead threads help us keep LQSEC as zombie-free as possible.
 
  


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
password policy Nick Pontelando Linux - Security 9 08-15-2012 09:50 AM
Samba System Policy, Default User Policy scooter549 Linux - General 2 02-24-2009 02:23 AM
Account Lockout Policy in Linux? wardialer Linux - Security 15 02-19-2009 09:38 AM
Implementing password policy ddaas Linux - Security 3 12-31-2004 02:02 PM
Linux Password Policy MaverickApollo Linux - Security 2 02-07-2004 06:49 AM


All times are GMT -5. The time now is 07:55 AM.

Main Menu
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