[Mono-dev] check for a valid system user with mono
Jerome Haltom
wasabi at larvalstage.net
Wed Jul 11 19:53:12 EDT 2007
If you are creating a protocol that is providing authentication over the
network, you will probably want to use a SASL implementation. If you are
writing a GUI program that will prompt for the user's password, you will
want to use PAM.
Neither of these are available as managed classes at this point to the
best of my knowledge, but using them through P/Invoke should not be too
difficult.
On Wed, 2007-07-11 at 12:09 -0400, Miguel de Icaza wrote:
> > How to use Mono.Unix or Mono.Unix.Native to check whether a specific
> > system username and password are valid?
>
> To write software that will run on all platforms, you can not really
> check if a username/password are valid, because in Linux authentication
> is done with a system called PAM (and GSSAPI).
>
> At least in PAM's case, you might not even have a password, it might
> authenticate using a fingerprint reading device, or it could use
> one-time-passwords. So you really need to go through that process.
>
> Miguel.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list