From f8ac6660904008ec14c7a591d86e39056c61246d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 5 Jun 2007 11:28:18 +0000 Subject: [PATCH] * PAM config for SLiM. * Go back to using blowfish as the default password hash, now that SLiM supports it through PAM. svn path=/nixos/trunk/; revision=8830 --- etc/default.nix | 1 + etc/default/passwd | 2 +- etc/pam.d/slim | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 etc/pam.d/slim diff --git a/etc/default.nix b/etc/default.nix index a89b78bf289..6614b612423 100644 --- a/etc/default.nix +++ b/etc/default.nix @@ -141,6 +141,7 @@ import ../helpers/make-etc.nix { ) [ "login" + "slim" "su" "other" "passwd" diff --git a/etc/default/passwd b/etc/default/passwd index fe83ceb209c..5804e28c38b 100644 --- a/etc/default/passwd +++ b/etc/default/passwd @@ -4,7 +4,7 @@ CRYPT=des # for local files, use a more secure hash. We # don't need to be portable here: -CRYPT_FILES=md5 +CRYPT_FILES=blowfish # sometimes we need to specify special options for # a hash (variable is prepended by the name of the diff --git a/etc/pam.d/slim b/etc/pam.d/slim new file mode 100644 index 00000000000..50f3cc5ce60 --- /dev/null +++ b/etc/pam.d/slim @@ -0,0 +1,4 @@ +auth include common +account include common +password include common +session include common