Here is an attempt at a shadow library for *BSD. This library provides getspent, but it reads from /etc/master.passwd. I wrote some code to try to convert the aging fields, but haven't fully test that part yet.
The next step is write a utility to read /etc/passwd and /etc/shadow, write a
new /etc/master.passwd, and run pwd_mkdb. With that, we should be able
to link the shadow package with this library, and then patch to run the as
yet unwritten utility.
This is alpha code, and the usual disclaimers apply.
---Nathan
libshadow.tar.bz2
Description: Binary data
pgpSlHPAHSDty.pgp
Description: PGP signature

