Skip to content
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

sudo usage #60

Open
FlorianHeigl opened this issue Mar 28, 2022 · 1 comment
Open

sudo usage #60

FlorianHeigl opened this issue Mar 28, 2022 · 1 comment

Comments

@FlorianHeigl
Copy link

in the docs there's a suggestion to use sudo to overcome permission issues:

www-data ALL = NOPASSWD: /usr/bin/python

this is basically allowing the web server to run absolutely everything as root.

it might be better to set the target writeable using group permissions.
I know it's just a home project but once you teach someone to do this wrong, they got the wrong approach in their toolbox.

@naztronaut
Copy link
Owner

Thanks for the feedback! And you make a very good point.

The PHP script to control things from the browser was removed a while ago. I kept that troubleshooting tip there for informational purposes. I'll add a note there stating that it's not recommended to use this method for anything due to security risks and should only be used for testing purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants