Projects / NSS MySQL Library

NSS MySQL Library

The NSS MySQL Library provides MySQL authentication for Unix systems with NSS, so that Unix accounts can be stored in a MySQL database instead of /etc/passwd. Its biggest highlight is extremely flexible database design. It is also fully thread- and fork-safe.

Operating Systems

RSS Recent releases

  •  04 Sep 2005 01:37

Release Notes: A bug preventing connections to a MySQL server on some platforms without a connect_timeout in "my.cnf" has been corrected.

  •  13 Nov 2004 13:26

Release Notes: A random thread deadlock bug has been fixed. Upon program exit, the MySQL connection is closed (to avoid warnings) and the password is purged. Multiline configuration is now possible. Multiple references to the search key may now be made.

  •  29 Mar 2004 15:24

Release Notes: This release fixes euid change detection (which broke privsep sshd) and an "initcmd" configuration parameter. The minimum supported MySQL version is now 3.23.9.

  •  06 Mar 2004 21:51

Release Notes: This release fixes 'unknown user' situations when a MySQL connection has been severed. It also fixes a problem where groups without members weren't showing up in getgrents. There are other minor updates to the code and documentation. FreeBSD users should take note of the new samples provided for security reasons.

  •  12 Jul 2003 13:13

Release Notes: FreeBSD (5.1+) is now supported. Solaris users upgrading from previous versions must read the file named "UPGRADING". The project's status is now marked "stable".

RSS Recent comments

24 Jun 2009 03:14 mbhangui Thumbs up

This is a extremely useful and powerful method of authenticating on unix platforms. I am using this very effectively for my IMAP/POP3 server to authenticate against a custom MySQL database without modifying a single line of code of the IMAP/POP3 servers. The IMAP/POP3 servers happen to be the popular courier-imap and dovecot.

Also want to appreciate the work done by the author of this code


Project Spotlight


A utility that converts an ICC profile from v2 to v4.


Project Spotlight


A .NET library that provides an abstraction over persistent data stores.