NAME

PlugAuth::Plugin::DisableGroup - Disable accounts which belong to a group

VERSION

version 0.39

SYNOPSIS

In your PlugAuth.conf:

 ---
 plugins:
   - PlugAuth::Plugin::DisableGroup:
       # the default is "disabled"
       group: disabled
       # the default is to not create users as disabled
       disable_on_create: 0
   - PlugAuth::Plugin::FlatAuth: {}

DESCRIPTION

This plugin disables the authentication for a user when they are in a specific group (the disabled group if it is not specified in the configuration file).

Trap for the unwary:

Note that you need to specify a real authentication to chain after this plugin (PlugAuth::Plugin::FlatAuth is a good choice). If you don't then all authentication will fail.

OPTIONS

group

The name of the disabled group. Defaults to "disabled".

disable_on_create

If set to true, it will disable all new accounts. Defaults to false.

AUTHOR

Graham Ollis <gollis@sesda3.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by NASA GSFC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.