lsh: Change the PAM service name in accordance with NixOS (had forgotten to commit it).

svn path=/nixpkgs/trunk/; revision=14542
This commit is contained in:
Ludovic Courtès
2009-03-15 14:11:21 +00:00
parent b161fd2921
commit d9cfe67b9f
2 changed files with 24 additions and 1 deletions
@@ -0,0 +1,14 @@
Tell `lsh-pam-checkpw', the PAM password helper program, to use a more
descriptive service name.
--- lsh-2.0.4/src/lsh-pam-checkpw.c 2003-02-16 22:30:10.000000000 +0100
+++ lsh-2.0.4/src/lsh-pam-checkpw.c 2008-11-28 16:16:58.000000000 +0100
@@ -38,7 +38,7 @@
#include <security/pam_appl.h>
#define PWD_MAXLEN 1024
-#define SERVICE_NAME "other"
+#define SERVICE_NAME "lshd"
#define TIMEOUT 600
static int