mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
merge from upstream
This commit is contained in:
@@ -200,6 +200,7 @@ function default_configuration() {
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
# Add a single entry to the sudoers file
|
||||
function sudo_add() {
|
||||
sudo bash -c "echo \"www-data ALL=(ALL) NOPASSWD:$1\" | (EDITOR=\"tee -a\" visudo)" \
|
||||
|
||||
Reference in New Issue
Block a user