I am playing around with a small app that I am going to use as a basic web front-end to various VPS tasks that I find myself doing often on my system.
For example, I want to make a front-end where I just give a name in a form field and svnadmin would be run to create a repository on the vps.
I know I could do this with something like system(), but that seems a little risky, giving a system executable input from web. It's probably the most simple solution though.
Anyone here ever do something like this? What was you preferred method? It will really only be used by me, and I will password protected and everything, so I don't have to be paranoid, but a certain level of security is always good measure it seems.