LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-08-2013, 03:25 AM   #1
glennbtn
Member
 
Registered: Dec 2009
Posts: 154

Rep: Reputation: 19
Hiding bash script contents


Hi All

I have written a few bash scripts for my customer to make their life easier. I don't want them to be able to open the up and see what's in there.

Is there a way I can secure the data inside so they can only run the script.

Thanks

Glenn
 
Old 08-08-2013, 03:36 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Obfuscating is never a good approach, that said, have a look at these links:

- How to Encrypt Your Bash Shell Script on Linux Using SHC
- HOWTO: Encrypting a shell script on a Linux or Unix based system (shc)
 
Old 08-08-2013, 04:00 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,848

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
if they (the customer) had root access you will have no chance. Actually it will only depend on their knowledge.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH connection from BASH script stops further BASH script commands tardis1 Linux - Newbie 3 12-06-2010 08:56 AM
Bash script to copy contents of folder brian.m Linux - General 8 05-01-2009 06:08 PM
Bash script for editing contents of one file according to other kkpal Linux - Newbie 8 02-26-2008 03:49 AM
synchronize contents two files with a bash script paul_mat Linux - Software 5 01-17-2007 06:31 AM
Bash script to compare dir contents Boffy Programming 2 08-02-2005 06:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration