* 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
This commit is contained in:
Eelco Dolstra 2008-03-06 13:50:01 +00:00
parent e75e52f61f
commit e410f78c90

View File

@ -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 = {