-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gui/install.sh: add www-data to "sudo" group #784
Conversation
so it can execute the vcgencmd command (new "show throttling" view on the "System" page).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, can we not just add the specific command to /etc/sudoers.d/allsky
(populated from here), instead of giving full sudo access to www-data
?
@linuxkidd, I tried that on my Pi and it didn't work, even after a reboot. If you can get it to work with the file, I prefer that way.
As you can see, I even tried the file the symbolic link pointed to. |
@EricClaeys I added only the last line to my
|
@linuxkidd did you have to execute anything so the file would be re-read? |
Na, nothing extra needed. The file is re-read on each sudo attempt, so modifying, and saving is sufficient. I used the |
Thanks Michael. I added the one-line change to the "allsky" sudoers file and got rid of the addition to install.sh. |
so it can execute the vcgencmd command (new "show throttling" view on the "System" page).
There is a separate PR for the allsky-portal portion of this change.