Merge pull request #3226 from MichaIng/patch-6

Do not add pihole user to web server group
This commit is contained in:
DL6ER 2020-04-28 19:39:55 +02:00 committed by GitHub
commit c0cf8dba87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1962,8 +1962,6 @@ installPihole() {
# Repair permissions if /var/www/html is not world readable # Repair permissions if /var/www/html is not world readable
chmod a+rx /var/www chmod a+rx /var/www
chmod a+rx /var/www/html chmod a+rx /var/www/html
# Give pihole access to the Web server group
usermod -a -G ${LIGHTTPD_GROUP} pihole
# Give lighttpd access to the pihole group so the web interface can # Give lighttpd access to the pihole group so the web interface can
# manage the gravity.db database # manage the gravity.db database
usermod -a -G pihole ${LIGHTTPD_USER} usermod -a -G pihole ${LIGHTTPD_USER}