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

gui/install.sh: add www-data to "sudo" group #784

Merged
merged 3 commits into from
Nov 12, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gui/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ echo -e "${GREEN}* Adding the right permissions to the web server${NC}"
# Remove any old entries; we now use /etc/sudoers.d/allsky instead of /etc/sudoers.
sed -i -e '/allsky/d' -e '/www-data/d' /etc/sudoers
cp $SCRIPTPATH/sudoers /etc/sudoers.d/allsky
# www-data needs to be in the "sudo" group for sudo to work.
sudo usermod -a -G sudo www-data
echo

# As of October 2021, WEBSITE_DIR is a subdirectory of PORTAL_DIR.
Expand Down