fix OTA
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# ButtonTask: allow the unprivileged web configurator to run only the three
|
||||
# ButtonTask: allow the unprivileged web configurator to run only the
|
||||
# tightly-scoped helper scripts as root, without a password.
|
||||
#
|
||||
# Install:
|
||||
@@ -6,6 +6,7 @@
|
||||
# buttontask ALL=(root) NOPASSWD: /opt/buttontask/scripts/bt-netconfig
|
||||
# buttontask ALL=(root) NOPASSWD: /opt/buttontask/scripts/bt-update
|
||||
# buttontask ALL=(root) NOPASSWD: /opt/buttontask/scripts/bt-service
|
||||
# buttontask ALL=(root) NOPASSWD: /opt/buttontask/scripts/bt-settime
|
||||
# EOF
|
||||
# sudo chmod 0440 /etc/sudoers.d/buttontask
|
||||
# sudo visudo -cf /etc/sudoers.d/buttontask # validate
|
||||
@@ -17,3 +18,4 @@
|
||||
buttontask ALL=(root) NOPASSWD: /opt/buttontask/scripts/bt-netconfig
|
||||
buttontask ALL=(root) NOPASSWD: /opt/buttontask/scripts/bt-update
|
||||
buttontask ALL=(root) NOPASSWD: /opt/buttontask/scripts/bt-service
|
||||
buttontask ALL=(root) NOPASSWD: /opt/buttontask/scripts/bt-settime
|
||||
|
||||
Reference in New Issue
Block a user