From 6331d38747882eafef6ef3573e889c8b186d031c Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Thu, 25 Feb 2021 09:42:57 +0100 Subject: [PATCH] change icinga user shell to /bin/false --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 16b7089..53ea5de 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -70,7 +70,7 @@ if $ssh_pub_key { $icinga_shell = '/bin/bash' } else { - $icinga_shell = '/sbin/nologin' + $icinga_shell = '/bin/false' } case $::osfamily {