l domsen: run verify_arg as root
This commit is contained in:
parent
47c4919a06
commit
24d7e2fa03
lass
|
@ -119,7 +119,7 @@ in {
|
|||
authenticators.PLAIN = ''
|
||||
driver = plaintext
|
||||
public_name = PLAIN
|
||||
server_condition = ''${run{${config.lass.usershadow.path}/bin/verify_arg ${config.lass.usershadow.pattern} $auth2 $auth3}{yes}{no}}
|
||||
server_condition = ''${run{/run/wrappers/bin/shadow_verify_arg ${config.lass.usershadow.pattern} $auth2 $auth3}{yes}{no}}
|
||||
'';
|
||||
authenticators.LOGIN = ''
|
||||
driver = plaintext
|
||||
|
|
|
@ -45,6 +45,10 @@
|
|||
source = "${usershadow}/bin/verify_pam";
|
||||
owner = "root";
|
||||
};
|
||||
security.wrappers.shadow_verify_arg = {
|
||||
source = "${usershadow}/bin/verify_arg";
|
||||
owner = "root";
|
||||
};
|
||||
};
|
||||
|
||||
usershadow = let {
|
||||
|
|
Loading…
Reference in a new issue