X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=config.h.in;h=ae3554ad9daa7a68d5dc13767a9d5d976e4306e3;hb=f65151994eba80ecabcdac6eef6fa0dde7e2d45b;hp=4891a2543919fb5c2341a916947936da33d37a7c;hpb=cf665b135b41d4f42067f9d9a8111c9602777cc1;p=xscreensaver diff --git a/config.h.in b/config.h.in index 4891a254..ae3554ad 100644 --- a/config.h.in +++ b/config.h.in @@ -173,6 +173,19 @@ */ #undef HAVE_KERBEROS +/* Define this if you want to use PAM (Pluggable Authentication Modules) + * to lock/unlock the screen, instead of standard /etc/passwd authentication. + */ +#undef HAVE_PAM + +/* If PAM is being used, this is the name of the PAM service that xscreensaver + * will authenticate as. The default is "xscreensaver", which means that the + * PAM library will look for an "xscreensaver" line in /etc/pam.conf, or (on + * recent Linux systems) will look for a file called /etc/pam.d/xscreensaver. + * Some systems might already have a PAM installation that is configured for + * xlock, so setting this to "xlock" would also work in that case. + */ +#define PAM_SERVICE_NAME "xscreensaver" /* Define this if your system uses `shadow' passwords, that is, the passwords * live in /etc/shadow instead of /etc/passwd, and one reads them with