From 7006bbf8b228b47219e98d63a40bd9bff7a10475 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 26 Jan 2015 14:13:10 +0100 Subject: [PATCH] Suggest "icingaweb2" as group instead of the webserver's user ..and note that it is necessary to create this group. --- .../application/views/scripts/form/setup-welcome.phtml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/setup/application/views/scripts/form/setup-welcome.phtml b/modules/setup/application/views/scripts/form/setup-welcome.phtml index aa51ffba6..d4bc1c3d7 100644 --- a/modules/setup/application/views/scripts/form/setup-welcome.phtml +++ b/modules/setup/application/views/scripts/form/setup-welcome.phtml @@ -41,14 +41,18 @@ $cliPath = realpath(Icinga::app()->getApplicationDir() . '/../bin/icingacli'); 'To run this wizard a user needs to authenticate using a token which is usually' . ' provided to him by an administrator who\'d followed the instructions below.' ); ?>

+

translate('In any case, make sure that a group called "icingaweb2" exists:'); ?>

+
+ groupadd icingaweb2; +

translate('If you\'ve got the IcingaCLI installed you can do the following:'); ?>

- setup config directory --group ; + setup config directory --group icingaweb2; setup token create;

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

- su -c "mkdir -m 2770 ; head -c 12 /dev/urandom | base64 | tee ; chmod 0660 ;"; + su -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.'),