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.

Thanks

There are many packaged related to PAM, see pam - Search Results - Go Packages. 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 http://www.linux-pam.org/Linux-PAM-html/ 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.