Skip to content

Instantly share code, notes, and snippets.

@cmd-ntrf
Created July 12, 2016 14:56
Show Gist options
  • Save cmd-ntrf/53740d8858a87466381e3f71d62b3f65 to your computer and use it in GitHub Desktop.
Save cmd-ntrf/53740d8858a87466381e3f71d62b3f65 to your computer and use it in GitHub Desktop.
from ctypes import CDLL
from ctypes.util import find_library
LIBPAM = CDLL(find_library("pam"))
PAM_STRERROR = LIBPAM.pam_strerror
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment