Running rsync from a webserver (using sudo)

October 21, 2009

Situation

I want to have ‘rsync’ run when a user presses a button on the webserver. The software stack is as follows (though this was largely a red-herring, see below) :

Fedora – server

lighttpd – webserver

Twiki – intranet setup

perl – plugin language for Twiki

bash – perl launches a script to run the rsync

sudo – to ‘change [...]

Comments Off