mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-17 13:50:33 +00:00
Force pihole user to use sh-shell (instead of nologin)
This commit is contained in:
parent
e8fde702a0
commit
4f85ace525
@ -28,7 +28,7 @@ start() {
|
||||
touch /var/log/pihole-FTL.log /run/pihole-FTL.pid /run/pihole-FTL.port
|
||||
chown pihole:pihole /var/log/pihole-FTL.log /run/pihole-FTL.pid /run/pihole-FTL.port
|
||||
chmod 0644 /var/log/pihole-FTL.log /run/pihole-FTL.pid /run/pihole-FTL.port
|
||||
su -c "/usr/bin/pihole-FTL" "$FTLUSER"
|
||||
su -s /bin/sh -c "/usr/bin/pihole-FTL" "$FTLUSER"
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user