diff options
| -rw-r--r-- | doc/known-files/9d5aa72f807091b481820d12e693093293ba33c73854909ad7b0fb192c2db193 | 11 | ||||
| -rw-r--r-- | modules/system/shells.nix | 4 |
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/known-files/9d5aa72f807091b481820d12e693093293ba33c73854909ad7b0fb192c2db193 b/doc/known-files/9d5aa72f807091b481820d12e693093293ba33c73854909ad7b0fb192c2db193 new file mode 100644 index 0000000..c3977df --- /dev/null +++ b/doc/known-files/9d5aa72f807091b481820d12e693093293ba33c73854909ad7b0fb192c2db193 @@ -0,0 +1,11 @@ +# List of acceptable shells for chpass(1). +# Ftpd will not allow users to connect who are not using +# one of these shells. + +/bin/bash +/bin/csh +/bin/dash +/bin/ksh +/bin/sh +/bin/tcsh +/bin/zsh diff --git a/modules/system/shells.nix b/modules/system/shells.nix index b3ecf30..9399327 100644 --- a/modules/system/shells.nix +++ b/modules/system/shells.nix @@ -41,5 +41,9 @@ in ${concatStringsSep "\n" cfg.shells} ''; + environment.etc."shells".knownSha256Hashes = [ + "9d5aa72f807091b481820d12e693093293ba33c73854909ad7b0fb192c2db193" # macOS + ]; + }; } |
