merge from upstream

This commit is contained in:
Lawrence
2017-11-04 12:53:29 +08:00
3 changed files with 6 additions and 43 deletions

View File

@@ -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)" \