Performs two additional checks: compares the password against the login name and the comment (ie, real name) found on the user file.
Minimal length for dictionary words that are not allowed to appear in the password. Set to false to disable dictionary check.
Maximal length of characters in a row to allow if the same or following. If $FOLLOWING_KEYBOARD is true (default), the module will also check for alphabetical keys following, according to the English keyboard layout. Set $FOLLOWING to false to bypass this check.
Groups of characters are lowercase letters, uppercase letters, digits and the rest of the allowed characters. Set $GROUPS to the number of minimal character groups a password is required to have. Setting to false or to 1 will bypass the check.
Minimum and maximum length of a password. Both can be set to false.
Location where we are looking for dictionary files. You may want to set this variable if you are using not *NIX like operating system.
Set $SKIPCHAR to 1 to skip checking for bad characters.
Prohibit a specific character range. Excluded character range regualr experssion is expect. (You may use ^ to allow specific range) Default value is: \0-\x1F\x7F For ASCII only set value $BADCHARS = ^\x20-\x7F; Force numbers and upper case only $BADCHARS = ^A-Z1-9;
o /usr/dict/web2 o /usr/dict/words o /etc/passwd
See Data::Password::BasicCheck if you need only basic password checking. Other modules Data::Password::Common, Data::Password::Check, Data::Password::Meter, Data::Password::Entropy and String::Validator::Password
Ariel Brosh (RIP), January 2002.
Oded S. Resnik, from April 2004.
Copyright (c) 2001 - 2014 Raz Information Systems Ltd. <http://www.raz.co.il/>
This package is distributed under the same terms as Perl itself, see the Artistic License on Perls home page.
|perl v5.20.3||PASSWORD (3)||2015-01-16|