is it possible to compile shell script?

is it possible to compile a shell script or at least encrypt to avoid tampering?
juantamadAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

juantamadAuthor Commented:
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
TintinCommented:
I haven't used it myself, but have you followed instructions in the README?
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

juantamadAuthor Commented:
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
juantamadAuthor Commented:
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
TintinCommented:
What are the passwords for?  An Application, a login?

There may well be better ways of acheiving what you want.
0
juantamadAuthor Commented:
ftp and sqlplus
0
TintinCommented:
OK, I think you'll have a lot more luck with kcx.

See http://www.geocities.com/SiliconValley/Horizon/5745/main.html
0
mkadwaCommented:
HEY!!!! what about chmod 711
0
TintinCommented:
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
juantamadAuthor Commented:
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
liddlerCommented:

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
ChmodCommented:
PAQed - no points refunded (of 40)

Chmod
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.