{"push_id":1358332769,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"4687cbaf657aec2f0c8f1db2c4a3f6443c9348f6","before":"31b0ebffd831107986f5f639989466e9cce5958a","commits":[{"sha":"4687cbaf657aec2f0c8f1db2c4a3f6443c9348f6","author":{"name":"ioCron","email":"616e881177e53541ea47e5917a60deb2554e079d@iocron.com"},"message":"Abandoned the multi-user deployment for now\n\n- Due to usability and security reasons the multi-user deployment has been abandoned, because every admin would need to undergo the process of configuring the sudoers (+requiretty) in addition, that defeats the purpose of a easy-to-setup deployment tool (it might be transfered to a different project).\n\nTested example case:\nLinux:\nvisudo\nDefaults    requiretty (turned off)\nusername ALL=NOPASSWD:/var/www/gitwebhook/httpdocs/gitwebhook/example.sh\n\nPHP:\nexample.php (in gitwebhook):\nexec($cmd.\"2>&1\",$output); // args need escapeshellarg() as well\nprint_r($output);\n\nexample.sh (in gitwebhook):\nsudo -H -u 'test' bash -c \"touch /var/www/example.com/httpdocs/test.txt && echo HOHO\" 2>&1;","distinct":true,"url":"https://api.github.com/repos/iocron/gitwebhook/commits/4687cbaf657aec2f0c8f1db2c4a3f6443c9348f6"}]}
{"actor":{"display_login":"iocron"}}