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"
|
"shadow"
|
||||||
"sshd"
|
"sshd"
|
||||||
"lshd"
|
"lshd"
|
||||||
"lsh-pam-checkpw"
|
|
||||||
"useradd"
|
"useradd"
|
||||||
"chsh"
|
"chsh"
|
||||||
"xlock"
|
"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
|
end script
|
||||||
|
|
||||||
respawn ${lsh}/sbin/lshd --daemonic \
|
respawn ${lsh}/sbin/lshd --daemonic \
|
||||||
|
--password-helper="${lsh}/sbin/lsh-pam-checkpw" \
|
||||||
-p ${toString portNumber} \
|
-p ${toString portNumber} \
|
||||||
${if interfaces == [] then ""
|
${if interfaces == [] then ""
|
||||||
else (concatStrings (map (i: "--interface=\"${i}\"")
|
else (concatStrings (map (i: "--interface=\"${i}\"")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user