12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #ifdef HAVE_CONFIG_H
- #include <config.h>
- #endif
- #include <stdio.h>
- #include <unistd.h>
- #include <security/pam_appl.h>
- int
- main (void)
- {
- int retval;
-
- retval = pam_setcred (NULL, 0);
- if (retval == PAM_SUCCESS)
- {
- fprintf (stderr, "pam_setcred (NULL, 0) returned PAM_SUCCESS\n");
- return 1;
- }
- return 0;
- }
|