From: Nathan Y. <na...@yo...> - 2002-10-24 03:41:39
|
"mental" note for future - found an example of getting password in pam: /* Get the password */ retval = pam_get_item(pamh, PAM_AUTHTOK, (const void **)&password); if (retval != PAM_SUCCESS) { _pam_log(LOG_ERR, "Could not retrive user's password"); return -2; } where password is defined as: const char *password; |