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:
parent
477ea7015c
commit
730244f13d
|
@ -226,7 +226,6 @@ import ../helpers/make-etc.nix {
|
|||
"shadow"
|
||||
"sshd"
|
||||
"lshd"
|
||||
"lsh-pam-checkpw"
|
||||
"useradd"
|
||||
"chsh"
|
||||
"xlock"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
auth include common
|
||||
account include common
|
||||
password include common
|
||||
session include common
|
|
@ -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}\"")
|
||||
|
|
Loading…
Reference in a new issue