How to authenticate user against PAM?

Hello all,

I want to authenticate my user against PAM, how it is possible in golang? I see other languages such as PHP has inbuilt support for it.

Need help.


There are many packaged related to PAM, see Maybe this one is what you are looking for:

Package pam contains all the functionality for interfacing with Linux Pluggable Authentication Modules (PAM). Currently, all this package does is check the validity of a user’s login passphrase. See for more information.

Thanks @lutzhorn
Sorry for delayed response

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.