Hiding shell script code | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Hiding shell script code

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-28-2013
Dish Dish is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 31 October 2013, 1:29 PM EDT
Location: Hyderabad, India
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
Oracle Hiding shell script code

How can we share a script without actually sharing the code?

I have 4 scripts in my system.

The end user has to execute the first file and based on the inputs (I am reading 1, 2 , 3 as options) my shell script will execute respective script files.

Now I dont want to share all the 4 script files and share just one.

Is it possible with shell scripts?
Sponsored Links
    #2  
Old 01-28-2013
Hammadi dali Hammadi dali is offline
Registered User
 
Join Date: Feb 2009
Last Activity: 4 April 2014, 11:47 AM EDT
Location: Tunisia
Posts: 48
Thanks: 0
Thanked 1 Time in 1 Post
Try to adjust access to the remaining scripts by keeping only execution right, or move them to directory accessible only by their owner.
Sponsored Links
    #3  
Old 01-28-2013
Iced_R Iced_R is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 28 January 2013, 8:05 AM EST
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
You can use sudo, or you can give only execution flags to the archive for other users.
    #4  
Old 01-28-2013
jgt's Avatar
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 16 April 2014, 11:06 AM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,516
Thanks: 1
Thanked 149 Times in 144 Posts
Is this what you meant ? http://www.unix.com/302190058-post1.html
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Hiding password for FTP in a script Cass3 Shell Programming and Scripting 6 10-24-2008 02:41 PM
Bourne Shell: Hiding error messages totziens Shell Programming and Scripting 5 05-02-2008 07:51 AM
Hiding PHP code on the server sudhir_onweb Shell Programming and Scripting 4 04-13-2007 10:53 AM
Hiding perl-cgi code sudhir_onweb Shell Programming and Scripting 4 03-21-2007 10:37 PM
Perl Code Hiding sskb Shell Programming and Scripting 5 01-02-2002 01:21 PM



All times are GMT -4. The time now is 05:24 PM.