Authenticate against PAM
Provides an authenticate function that will allow the caller to authenticate a user against the Pluggable Authentication Modules (PAM) on the system.
Implemented using ctypes, so no compilation is necessary.
Note
PAM authentication will not work for the root user.
The Python interface to PAM does not support authenticating as root.
Wrapper class for pam_conv structure
Structure/Union member
Structure/Union member
Wrapper class for pam_message structure
Structure/Union member
Structure/Union member
Wrapper class for pam_response structure
Structure/Union member
Structure/Union member
Authenticate via pam
Returns True if the given username and password authenticate for the given service. Returns False otherwise
username: the username to authenticate
password: the password in plain text
Retrieve groups for a given user for this auth provider
Uses system groups
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.1.13
Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.
Upcoming SaltStack events, webinars and local meet ups and user groups.