2021-12-06 16:07:01 +00:00
|
|
|
let
|
|
|
|
name = "pam";
|
|
|
|
in
|
|
|
|
import ../make-test-python.nix ({ pkgs, ... }: {
|
2022-09-30 11:47:45 +00:00
|
|
|
name = "pam-file-contents";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
nodes.machine = { ... }: {
|
|
|
|
imports = [ ../../modules/profiles/minimal.nix ];
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
security.krb5.enable = true;
|
2021-12-06 16:07:01 +00: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);
|
|
|
|
})
|