# Secure ruby scripts for users

**URL:** <https://www.ruby-forum.com/t/secure-ruby-scripts-for-users/194957>\
**Category:** Ruby\
**Created:** [September 14, 2010, 10:36am UTC](https://www.ruby-forum.com/t/secure-ruby-scripts-for-users/194957 "2010-09-14T10:36:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paradise](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@paradise](https://www.ruby-forum.com/u/paradise)\
**Post date:** [September 14, 2010, 10:36am UTC](https://www.ruby-forum.com/t/secure-ruby-scripts-for-users/194957/1 "2010-09-14T10:36:03Z")

</div>

I am using Linux,

Looking for input on the best way to have my scripts so users can use  
the programs but not read the code (if that’s possible).

Now the users are not that hot on PC’s so my aim is to use Linux…

- This will put them out of their comfort zone - less risk of  
fiddling.
- Being less prone to viruses.
- Stop or reduce risk of them damaging the OS etc.

the users login access is associated to users.  
user group account is linked to /opt/bars (this is where I’ve put my  
scripts).

To install the gems and scripts I’ve logged in under another account  
with sudo access rights.

Installed gems using sudo altered the my script files to be …  
user = root  
group = users  
scripts are executable

To run the scripts the user clicks on an icon on the desktop and this  
then starts the fxruby scripts I’ve written.

Now my problem currently is I cannot get the scripts to run via the  
terminal!

error I get implies it cannot be found - all the scripts are in  
/opt/bars.

Can anyone suggest how I should go about doing this?  
I want it to be easy to to install (even if I have to do everything by  
hand).

thanks,
