| Module | Rpam |
| In: |
rpam.c
|
initialize
Authenticates a user and returns TRUE on success, FALSE on failure
authpam(username, password) -> boolean
raises RuntimeError in case of PAM error raises SecurityError in case of missing rights (e.g. run as non-root)
/*
* Authenticates a user and returns TRUE on success, FALSE on failure
*
* authpam(username, password) -> boolean
*
* raises RuntimeError in case of PAM error
* raises SecurityError in case of missing rights (e.g. run as non-root)
*/
VALUE method_authpam(VALUE self, VALUE username, VALUE password) {