# Execution of system scripts from rails

**URL:** <https://www.ruby-forum.com/t/execution-of-system-scripts-from-rails/121042>\
**Category:** Rails\
**Created:** [November 23, 2007, 4:11am UTC](https://www.ruby-forum.com/t/execution-of-system-scripts-from-rails/121042 "2007-11-23T04:11:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dishkuvek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ebca7d/32.png) [@dishkuvek](https://www.ruby-forum.com/u/dishkuvek)\
**Post date:** [November 23, 2007, 4:11am UTC](https://www.ruby-forum.com/t/execution-of-system-scripts-from-rails/121042/1 "2007-11-23T04:11:56Z")

</div>

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.
