This requires write permissions for
- etc/features-*
- etc/*.conf
- var/{lib,cache}/icinga2/*
Typically permissions are handled by prepare-dirs,
or the respective CLI commands are run as root either way.
fixes #4947
ImpersonationLevel ApiSetupCommand::GetImpersonationLevel() const
{
- return ImpersonateRoot;
+ return ImpersonateIcinga;
}
int ApiSetupCommand::GetMaxArguments() const
ImpersonationLevel FeatureDisableCommand::GetImpersonationLevel() const
{
- return ImpersonateRoot;
+ return ImpersonateIcinga;
}
/**
ImpersonationLevel FeatureEnableCommand::GetImpersonationLevel() const
{
- return ImpersonateRoot;
+ return ImpersonateIcinga;
}
/**
ImpersonationLevel NodeSetupCommand::GetImpersonationLevel() const
{
- return ImpersonateRoot;
+ return ImpersonateIcinga;
}
/**
ImpersonationLevel NodeWizardCommand::GetImpersonationLevel() const
{
- return ImpersonateRoot;
+ return ImpersonateIcinga;
}
int NodeWizardCommand::GetMaxArguments() const