Install libpam-ocaml by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-ocaml
OCaml bindings for the PAM library (runtime)
OCamlPAM is a wrapper for the Pluggable Authentication Modules (PAM) library. PAM provides a flexible mechanism for authenticating users via administrator-defined policies. PAM has modules for authenticating via Unix passwd files, Kerberos, LDAP, etc. Additional modules for custom authentication mechanisms can be created and deployed without recompiling existing services based on PAM. Moreover, policies defining the authentication requirements can be changed at runtime without restarting running services. . This package contains only the shared runtime stub library for OCamlPAM.