?
Solved

is it possible to compile shell script?

Posted on 2003-03-31
13
Medium Priority
?
267 Views
Last Modified: 2013-12-26
is it possible to compile a shell script or at least encrypt to avoid tampering?
0
Comment
Question by:juantamad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
13 Comments
 

Author Comment

by:juantamad
ID: 8250757
i tried to use shc which is free and load it to my UNIX (HPUX) box. i uncompressed the files and tried to follow the instruction indicated in the readme file but still unable to figure out how to use it. can you give me specific step step procedure that i can follow? can i run it as an ordinary user?
0
 
LVL 48

Expert Comment

by:Tintin
ID: 8250978
I haven't used it myself, but have you followed instructions in the README?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:juantamad
ID: 8251079
yup, but i want to know if this program is safe since when i tried to execute it it tried to access some of my files. unfortunately i did not run the program as root or else i do not know wht will happen. if there is someone that can show me their procedure, i would appreciate it. thank you.
0
 

Author Comment

by:juantamad
ID: 8296550
even without compilation, can i make the script unreadable but executable to ordinary users? i tried giving only execute permission to the script and it did not work... my purpose is to secure the source since it contains passwords.
0
 
LVL 48

Expert Comment

by:Tintin
ID: 8297084
What are the passwords for?  An Application, a login?

There may well be better ways of acheiving what you want.
0
 

Author Comment

by:juantamad
ID: 8297567
ftp and sqlplus
0
 
LVL 48

Expert Comment

by:Tintin
ID: 8297631
OK, I think you'll have a lot more luck with kcx.

See http://www.geocities.com/SiliconValley/Horizon/5745/main.html
0
 

Expert Comment

by:mkadwa
ID: 8388819
HEY!!!! what about chmod 711
0
 
LVL 48

Expert Comment

by:Tintin
ID: 8393823
mkadwa.

No point in making a shell script with perms of 711 as this is effectively the same as giving it perms of 700
0
 

Author Comment

by:juantamad
ID: 8409621
i am not allowed to install third party software in my UNIX box so i tried installing kcx from my windows with cygwin installed. it runs fine but when i tried to transfer the file to my UNIX box it is not running. did i miss somethin there? thanks :P
0
 
LVL 18

Expert Comment

by:liddler
ID: 9846077

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ and refund

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

liddler
EE Cleanup Volunteer
0
 

Accepted Solution

by:
Chmod earned 0 total points
ID: 9892109
PAQed - no points refunded (of 40)

Chmod
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question