Skip to content

Commit

Permalink
Merge pull request LnL7#837 from Enzime/add/shells
Browse files Browse the repository at this point in the history
etc: add known hash for `/etc/shells`
  • Loading branch information
domenkozar authored Dec 24, 2023
2 parents 010a625 + 850eabc commit f454cff
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions modules/system/shells.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@ in
${concatStringsSep "\n" cfg.shells}
'';

environment.etc."shells".knownSha256Hashes = [
"9d5aa72f807091b481820d12e693093293ba33c73854909ad7b0fb192c2db193" # macOS
];

};
}

0 comments on commit f454cff

Please sign in to comment.