Git Product home page Git Product logo

krb5-cracklib's Introduction

Requirements
============

* MIT Kerberos 1.9+ with pwqual plugin interface

* cracklib; (optionally) version 2.9+ which provides FascistCheckUser()


Installation
============

1. call 'make' with proper libdir and libexecdir settings; libdir
   must either match this of krb5 installation (e.g. plugins are at
   ${libdir}/krtb5/plugins), or there must be used an absolute path
   to the cracklib plugin later.

   It can me necessary to add '-I/usr/include/et' to CFLAGS because
   krb5 expects <com_err.h> to be in include path which is not the
   case e.g. in RHEL6

2. install it with 'make install' by using same flags as above; you
   can specify DESTDIR to copy files into a snapshot directory.  As a
   result, two new files

   /usr/lib64/krb5/plugins/pwqual/cracklib.so
   /usr/libexec/krb5-checkpass

   are created

3. load module by adding

   --------------
   [plugins]
           pwqual = {
                  module = cracklib:pwqual/cracklib.so
           }
   --------------

   to /etc/krb5.conf of the kadmin server and restart this server.

4. test it by trying to set a simple password. 'kadmin.local' and kdc
   logfile will contain the full error message:

   # kadmin.local -q 'cpw test'
   Enter password for principal "test...": abcABC123.
   change_password: it is too simplistic/systematic while changing password...

   Remote clients ('kpasswd', 'kadmin') will see only a generic
   error message and logfile must be checked for the exact reason:

   $ kpasswd test
   Enter new password: abcABC123.
   Password change rejected: Password not changed.
   Unspecified password quality failure while trying to change password.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.