mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-02-16 08:24:09 +00:00
Missing comma in sudoersContent.
This commit is contained in:
parent
923b4d6d80
commit
cc745d8b37
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ installSudoersFile() {
|
|||
# Install the file in /etc/sudoers.d that defines what commands
|
||||
# and scripts the pihole user can elevate to root with sudo.
|
||||
sudoersFile='/etc/sudoers.d/pihole'
|
||||
sudoersContent="pihole ALL=(ALL:ALL) NOPASSWD: /usr/local/bin/piholeReloadServices.sh /usr/local/bin/piholeSetPermissions.sh"
|
||||
sudoersContent="pihole ALL=(ALL:ALL) NOPASSWD: /usr/local/bin/piholeReloadServices.sh, /usr/local/bin/piholeSetPermissions.sh"
|
||||
echo "$sudoersContent" > "$sudoersFile"
|
||||
# chmod as per /etc/sudoers.d/README
|
||||
chmod 0440 "$sudoersFile"
|
||||
|
|
Loading…
Add table
Reference in a new issue