From ae5018cceade2b755e69d874c3049ffdaf27a158 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 14 Nov 2018 12:26:30 +0100 Subject: [PATCH] Setup: make icingacli alternative command working OOTB --- .../setup/application/views/scripts/form/setup-welcome.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setup/application/views/scripts/form/setup-welcome.phtml b/modules/setup/application/views/scripts/form/setup-welcome.phtml index dc275b233..09810bce5 100644 --- a/modules/setup/application/views/scripts/form/setup-welcome.phtml +++ b/modules/setup/application/views/scripts/form/setup-welcome.phtml @@ -101,7 +101,7 @@ if (! (false === ($distro = Platform::getLinuxDistro(1)) || $distro === 'linux')

translate('In case the IcingaCLI is missing you can create the token manually:'); ?>

- su translate(''); ?> -c "mkdir -m 2770 ; chgrp icingaweb2 ; head -c 12 /dev/urandom | base64 | tee ; chmod 0660 ;"; + su translate(''); ?> -s /bin/sh -c "mkdir -m 2770 ; chgrp icingaweb2 ; head -c 12 /dev/urandom | base64 | tee ; chmod 0660 ;";

translate('Please see the %s for an extensive description on how to access and use this wizard.'),