lshd: Use `lsh-pam-checkpw' as the password helper program.

This finally allows users to log in using password authentication.

svn path=/nixos/trunk/; revision=13490
This commit is contained in:
Ludovic Courtès 2008-11-28 15:44:15 +00:00
parent 477ea7015c
commit 730244f13d
3 changed files with 1 additions and 5 deletions

View file

@ -226,7 +226,6 @@ import ../helpers/make-etc.nix {
"shadow"
"sshd"
"lshd"
"lsh-pam-checkpw"
"useradd"
"chsh"
"xlock"

View file

@ -1,4 +0,0 @@
auth include common
account include common
password include common
session include common

View file

@ -31,6 +31,7 @@ start script
end script
respawn ${lsh}/sbin/lshd --daemonic \
--password-helper="${lsh}/sbin/lsh-pam-checkpw" \
-p ${toString portNumber} \
${if interfaces == [] then ""
else (concatStrings (map (i: "--interface=\"${i}\"")