2021-11-18 08:44:29 +01:00
|
|
|
let
|
|
|
|
name = "pam";
|
|
|
|
in
|
|
|
|
import ../make-test-python.nix ({ pkgs, ... }: {
|
2022-06-26 00:14:38 +02:00
|
|
|
name = "pam-file-contents";
|
2021-11-18 08:44:29 +01:00
|
|
|
|
|
|
|
nodes.machine = { ... }: {
|
|
|
|
imports = [ ../../modules/profiles/minimal.nix ];
|
|
|
|
|
2023-07-24 23:12:29 +02:00
|
|
|
security.krb5.enable = true;
|
2021-11-18 08:44:29 +01:00
|
|
|
|
|
|
|
users = {
|
|
|
|
mutableUsers = false;
|
|
|
|
users = {
|
|
|
|
user = {
|
|
|
|
isNormalUser = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = builtins.replaceStrings
|
|
|
|
[ "@@pam_ccreds@@" "@@pam_krb5@@" ]
|
|
|
|
[ pkgs.pam_ccreds.outPath pkgs.pam_krb5.outPath ]
|
|
|
|
(builtins.readFile ./test_chfn.py);
|
|
|
|
})
|