[Mono-list] Verify a linux user password
Chris Howie
cdhowie at gmail.com
Sun Nov 8 15:01:57 EST 2009
On Sun, Nov 8, 2009 at 2:38 PM, Cyrille Colin <colin at univ-metz.fr> wrote:
> i would like to check a linux user credential (etc/shadow). Does someone
> know if there's tools in Mono.Unix ? I've seen that Syscall.crypt is
> tagged as obsolete.
You would be better off looking for libpam bindings. Using
/etc/shadow means that if a system your app is running on is using one
of the other authentication modules (like winbind or mysql) your app
will fail to authenticate otherwise valid users.
--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
More information about the Mono-list
mailing list