Merge pull request #54954 from costrouc/munge-module-key-permissions
munge: fix module munge.key permissions from 0700 -> 0400 readonly
This commit is contained in:
commit
293a5c90ca
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ in
|
||||||
path = [ pkgs.munge pkgs.coreutils ];
|
path = [ pkgs.munge pkgs.coreutils ];
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
chmod 0700 ${cfg.password}
|
chmod 0400 ${cfg.password}
|
||||||
mkdir -p /var/lib/munge -m 0711
|
mkdir -p /var/lib/munge -m 0711
|
||||||
chown -R munge:munge /var/lib/munge
|
chown -R munge:munge /var/lib/munge
|
||||||
mkdir -p /run/munge -m 0755
|
mkdir -p /run/munge -m 0755
|
||||||
|
|
Loading…
Reference in a new issue