Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


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 !!

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-28-2013
Registered User
 
Join Date: Dec 2012
Location: Hyderabad, India
Posts: 10
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
Registered User
 
Join Date: Feb 2009
Location: Tunisia
Posts: 45
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
Registered User
 
Join Date: Dec 2012
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
Location: 44.21.48N 80.50.15W
Posts: 1,418
Thanks: 1
Thanked 131 Times in 126 Posts
Is this what you meant ? http://www.unix.com/302190058-post1.html
Sponsored Links
Reply

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 03:04 PM.