mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
* Use the PAM service "slim", not "login".
svn path=/nixpkgs/trunk/; revision=8860
This commit is contained in:
parent
bade82f510
commit
03668c40c5
@ -13,7 +13,7 @@ diff -rc slim-1.2.6-orig/app.cpp slim-1.2.6/app.cpp
|
|||||||
+ #include <string>
|
+ #include <string>
|
||||||
+
|
+
|
||||||
+ pam_handle_t* pamh;
|
+ pam_handle_t* pamh;
|
||||||
+ char const* PAM_service = "login"; // <----- Change this, if the patch gets accepted upstream
|
+ char const* PAM_service = "slim"; // <----- Change this, if the patch gets accepted upstream
|
||||||
+ string password;
|
+ string password;
|
||||||
+
|
+
|
||||||
+ int conv(int num_msg, const struct pam_message **msg,
|
+ int conv(int num_msg, const struct pam_message **msg,
|
||||||
|
Loading…
Reference in New Issue
Block a user