github.com/msteinert/pam (go): Package pam provides a wrapper for the PAM application API.  This example uses the default PAM service to authenticate any users. This should cause PAM to ask its conversation handler for a username and password in sequence.
Keywords: authentication|golang|pam