Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Linux, When we try to set a user password the system always checks if it is a dictionary word, I want to know Where is this dictionary located in a Linux machine.??

Is it possible to configure the Linux system not to check the dictionary when we set a user password.??

share|improve this question
1  
Maybe /usr/share/dict/words or something? –  Bob May 4 '12 at 9:34
1  
It might be helpful to note your flavour of linux (Ubuntu, CentOS, etc...). –  nik May 4 '12 at 12:00

1 Answer 1

up vote 0 down vote accepted

If you look at the files in /etc/pam.d you'll see lines like:

  password    requisite     pam_cracklib.so try_first_pass retry=3 type=

This controls the checking. Documentation of pam_cracklib is available. It uses libcrack2, which is also documented.

share|improve this answer
    
I don't think pam_cracklib is part of standard install on say Ubuntu. Did you set this up for your machine? or, what is your unix flavor? (Force strong passwords in CentOS Linux) –  nik May 4 '12 at 11:56
    
This is standard on Fedora and RedHat. –  David Schwartz May 5 '12 at 16:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.