pam_pwcheck



pam_pwcheck

NAME
DESCRIPTION
OPTIONS
FILES
SEE ALSO

NAME

pam_pwcheck - PAM module for password strength checking

DESCRIPTION

The pam_pwcheck is a PAM module for password strength checking. It makes additional checks upon password changes, but does not perform the change itself. It only provides functionality for one PAM management group: password changing.

This module works in the following manner: if enabled, it first calls the Cracklib routine to check the strength of the password; if crack likes the password, the module does an additional set of strength checks. These checks are:
Palindrome

Is the new password a palindrome of the old one?

Case Change Only

Is the new password the old one with only a change of case?

Similar

Is the new password too similar to old one?

Simple

Is the new password too short?

Rotated

Is the new password a rotated version of the old password?

Already used

Was the password used in the past? Previously used passwords are to be found in /etc/security/opasswd.

OPTIONS

The following options may be passed to the module:
cracklib=
<path to dictionaries>

Use cracklib library for password checks. This parameter also contains the path to the cracklib dictionaries. The default is /usr/lib/cracklib_dict.

debug

A lot of debug information is printed with syslog(3).

maxlen=number

Number of significant characters in the password for crypt(3). A value of zero suppresses this check. The default is 0.

minlen=number

The minimum number of characters in an acceptable password. A new password with fewer characters will be rejected. A value of zero suppresses this check. The default is 5.

no_obscure_checks

No additional checks will be performed before a new password is accepted. Since the checks performed are fairly simple, their usage is recommended.

not_set_pass

If this option is given, pam_pwcheck will not make the new password available for other modules.

nullok

Normally the account is disabled if no password is set or if the length of the password is zero. With this option you can allow the user to change his password for such accounts. This option does not overwrite a hardcoded default by the calling process.

tries=number

Maximum number of attempts to change a password if the new ones are rejected because they are too easy.

use_authtok

Set the new password to the one provided by the previously stacked password module. If this option is not set, pam_pwcheck will ask the user for the new password.

use_first_pass

By default pam_pwcheck tries to get the authentication token from a previous module. If no token is available, the user is asked for the old password. With this option, pam_pwcheck aborts with an error if no authentication token from a previous module is available.

remember=XX

Remember the last XX passwords and do not allow the user to reuse any of these for the next XX password changes. XX is a number between 1 and 400.

enforce_for_root

If this option is set, most of the password check rules are enforced for root, too. Never use this option if you don’t know what you are doing, since it could be as result that root is no longer allowed to login at all.

FILES

/etc/security/opasswd

SEE ALSO

passwd(1), pam.conf(8), pam.d(8), pam(8), rpasswd(1), rpasswdd(8), rpc.yppasswdd(8), yppasswd(1)







Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.