FSMI OpenSource/ projects/ usersync

To decrease the reliance on working networking connections, this script produces regular snapshots of an SQL database containing NSS information. The information is locally stored in databases usable with libnss-db. Therefore, a working database connection is only necessary while the script is run, not while logging in or retrieving other NSS information.

The script also tracks which users where added or removed since the last run and creates or removes the home directories accordingly.

Please note

The configuration system of this package might not yet be suitable for general use and examples for proper usage of the script might be missing.


Perl, module DBI and module File::Slurp are required for the script to run. The acl binaries are optional and can be used to restrict the access to authorized_keys. To authenticate against the files produced by usersync the db module for NSS is needed.

How to get it

The source code repository is available using git by running "git clone git://opensource.fsmi.uni-karlsruhe.de/git/usersync.git". Debian packages for Debian Etch are available in our repository as well as the most current release tarball.

Copyright and License

Copyright (C) 2007, 2008 Fabian Knittel fabian.knittel@avona.com

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.