move lck, commonio, shadowio and pwio to a new static library ?

Valdir Leite <[email protected]> Sun, 9 Oct 2005 15:36:34 -0300
Newsgroups gmane.linux.pld.shadow.general
Message-ID <[email protected]>
Hi all.
This is my first post, so forgive me if this question was already
discussed by here (as there I couldn't´t find a way to search on
archives).

I'm working on a new PAM module to perform custom authentication based
on specific criteria. The module is OK, but I'm experiencing some
troubles on how to handle passwd and shadow files (I'm working in
Solaris environment).

I have found commonio, shadowio and pwio inside debian package SHADOW
and it was a good start point.

Now, I'm wondering why not move those files (commonio, shadowio, pwio)
to a specific static (of course, for security) library, for instance
"shadowio.a" ?

This way one can easily handle passwd and shadow files, for example to
create a custom "useradd".

Thanks in advance,

Valdir Leite
[email protected]
Sao Paulo - Brazil