Log inRegister
You are here: System » UnixUsersContrib

UnixUsersContrib Contrib Package

This Contrib enables you to replace the Foswiki User and Groups system with a read only access to the User and Groups in a Unix Database. Registration of new users and their association with Groups is then only handled by Unix, but still is possible to create groups in Foswiki normaly.

UnixUsersContrib is based on Foswiki:Extensions.JoomlaUsersContrib by Foswiki:Main.SvenDowideit.

Settings

Settings are in lib/LocalSite.cfg. the Foswiki configure script does not currently display the non-core options, but should also not remove them. See the Installation Instructions below for details.

  • One line description:
    • Set SHORTDESCRIPTION = replace the Foswiki User and Groups System with Unix's

  • Name of the perl package
    • Set STUB = authenticate using the unix users - disable registration.

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

  • set Foswiki::Users::UnixUserMapping as your UserMapping in configure's Security section
  • set Foswiki::LoginManager::TemplateLogin as your LoginManager in configure's Security section
  • give permission to webserver user read /etc/shadow file (on Debian: # adduser www-data shadow)

Contrib Info

Plugin Author: Foswiki:Main.JoenioCosta
Copyright: © 2012, joenio@perl.org.br
License: GPL 3 (GNU General Public License)
Dependencies:
NameVersionDescription
Authen::Simple::PAM >=0.2Simple PAM authentication
Version: 20130408 (2013-04-08)
Change History:  
08 Apr 2013 Set PATH and remove some environment variables for running in taint mode
07 Apr 2013 Bugfix revision
24 May 2012 Initial version
Home: http://foswiki.org/Extensions/UnixUsersContrib