From e410f78c90d76eb0fc03432be8520266a82f5600 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 6 Mar 2008 13:50:01 +0000 Subject: [PATCH] * Allow xlock to work with PAM and shadow passwords by passing the "--enable-bad-pam" option (this suggests that there is a better way, but I haven't found it, except of course not using shadow passwords). svn path=/nixpkgs/trunk/; revision=10986 --- pkgs/misc/screensavers/xlockmore/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/misc/screensavers/xlockmore/default.nix b/pkgs/misc/screensavers/xlockmore/default.nix index 025a2c044eb2..45a18f9fc021 100644 --- a/pkgs/misc/screensavers/xlockmore/default.nix +++ b/pkgs/misc/screensavers/xlockmore/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation { # Don't try to install `xlock' setuid. Instead, the user should add # it to `security.extraSetuidPrograms'. configureFlags = - "--disable-setuid " + "--enable-pam " + + "--disable-setuid --enable-pam --enable-bad-pam " + "--enable-appdefaultdir=$out/lib/X11/app-defaults"; meta = {