Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-01-2006, 12:54 PM   #1
Registered: Jan 2004
Distribution: CentOS
Posts: 281

Rep: Reputation: 30
Turn off "Bad password" forcing in passwd

Assuming I have root access, how do I turn off the strict password requirements of passwd? I know it's an optional setting somewhere. When it forces you to pick a different password by saying "Bad password - based on a dictionary word" etc etc..

I want to turn it off because it's forcing me to make a password that's insecure. (because I'd have to write the pw down.)

I'm using CentOS (basically the same as RHEL), if it matters.
Old 05-02-2006, 09:55 AM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
If you are root, the passwd command still accepts the password; the message is just a warning.

The warning is important - it tells you that your passwd can be easily obtained by password guessing software. To make a secure password, use two non-related words separated by a special character and at least a 3 digit number. For example:


These are surprisingly easy to remember.

Last edited by macemoneta; 05-02-2006 at 09:58 AM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 02:19 AM
Why is pam_authenticate() returning "Authentication Failure" for valid user/passwd? jrsugar Linux - Newbie 2 06-14-2005 03:49 PM
Why is pam_authenticate() returning "Authentication Failure" for valid user/passwd? jrsugar Programming 1 06-14-2005 09:18 AM
how do I get around the "submit passwd" prompt in ubuntu even if I use "sudo"? t3gah Linux - Distributions 1 02-22-2005 05:42 PM
passwd: Bad password, too simplistic ??? qwijibow Linux - Security 2 02-05-2005 05:58 PM

All times are GMT -5. The time now is 05:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration