diff --git a/net/pfSense-pkg-ntopng/Makefile b/net/pfSense-pkg-ntopng/Makefile index a889d8a5d627..66923c41c1af 100644 --- a/net/pfSense-pkg-ntopng/Makefile +++ b/net/pfSense-pkg-ntopng/Makefile @@ -2,7 +2,7 @@ PORTNAME= pfSense-pkg-ntopng PORTVERSION= 0.8.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net MASTER_SITES= # empty DISTFILES= # empty diff --git a/net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.inc b/net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.inc index 11793fb067ae..1847d9b37e70 100644 --- a/net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.inc +++ b/net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.inc @@ -208,6 +208,8 @@ function ntopng_set_redis_password() { $password = md5($ntopng_config['redis_password']); if (ntopng_redis_started()) { mwexec("{$redis_path}/redis-cli SET ntopng.user.admin.password " . escapeshellarg($password)); + // Make sure the preferences menu is accessible (Bug #6999) + mwexec("{$redis_path}/redis-cli SET ntopng.user.admin.group administrator"); mwexec("{$redis_path}/redis-cli save"); } else { log_error(gettext("[ntopng] Cannot set admin password - redis-server is not running."));