LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-28-2004, 07:02 AM   #1
da_kidd_er
Member
 
Registered: Feb 2003
Posts: 52

Rep: Reputation: 15
making the minimum password lenght to less than 5 characters


Hi

I would like to make our users be able to set passwords to less than 6 characters. I've modified /etc/login.defs to look like:

PASSWD_MIN_LEN 5

and at /etc/pam.d/system-auth to have:

password required /lib/security/$ISA/pam_cracklib.so retry=3 minlen=5

and then logout and login using the ordinary but when i try to change my password i still get

BAD PASSWORD: it is too short

any inputs is greatly appreciated

btw, i'm using RHEL3
 
Old 09-28-2004, 07:24 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Re: making the minimum password lenght to less than 5 characters

Quote:
Originally posted by da_kidd_er
Hi

I would like to make our users be able to set passwords to less than 6 characters.
Not smart at all, this is the quickest way to get you box compromised..................the more Characters in a password the MORE secure it is.............

and don't forget..............Redhat has a well deserved Nickname...........Roothat..........
 
  


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
Linux PAM minimum password and complexity reemo73 Linux - Software 3 06-01-2005 04:22 PM
how do u check if password has enough characters?? luxpops Programming 4 09-12-2004 05:30 AM
encrypted password 64 characters? uribo Programming 1 04-22-2003 08:51 AM
Having Password Speciall Characters on the screen JStew Programming 4 02-11-2003 01:27 PM
Setting Minimum Password Length (RH 7.1) zyft02 Linux - Newbie 1 02-26-2002 09:49 AM


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