LinuxQuestions.org
Review your favorite Linux distribution.
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, 07: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, 08:12 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

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

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
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, 08: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: 332Reputation: 332Reputation: 332Reputation: 332
http://www.kernel.org/pub/linux/libs...x-PAM_SAG.html
 
  


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

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

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