LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2009, 06:37 AM   #1
pbhinder
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
how to set min 10 character default password


Dear Friends,

due to security purpose i want to set default min. 10 character password on server

how and which config files are change setting for this

when ever administrator run passwd command they don'y except min. 10
character password .

kindly help regarding this .

Parry
 
Old 07-08-2009, 07:12 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
http://www.linuxquestions.org/questi...lexity-360522/
 
Old 07-08-2009, 07:14 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
The password authentication is usually controlled by the pam_cracklib module. You have to add the minlen parameter on the relevant pam configuration file. On my CentOS 5.3 system it is /etc/pam.d/system-auth
 
Old 07-08-2009, 07:40 AM   #4
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
http://www.kernel.org/pub/linux/libs...x-PAM_SAG.html
 
  


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
Please Help Change Password Min Length from 6 to 8 mccartjd Linux - Newbie 3 05-08-2008 06:00 AM
Debian Ftp Server, Need set up in 30 Min. seashell11 Linux - Networking 6 08-25-2006 01:28 PM
Ximian Evolution - Default character set KTN Linux - Software 1 08-29-2003 10:03 AM
Can't Change Min Password Length in RHL7.2 MikHud Linux - Security 2 04-16-2002 05:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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