Unix Technical Forum

How to: Crypting shell script

This is a discussion on How to: Crypting shell script within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi all!! I need to crypt a shell script (maked with korn shell) but i want that the users ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 08:01 AM
Gianluca S.
 
Posts: n/a
Default How to: Crypting shell script

Hi all!!

I need to crypt a shell script (maked with korn shell) but i want that the
users of my system can run it...
Do you have an idea to make this operation?

Thanks in advance
Gianluca


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 08:01 AM
Bela
 
Posts: n/a
Default Re: How to: Crypting shell script

Gianluca S. <gianluca2@email.it> wrote:
GS> Hi all!!
GS>
GS> I need to crypt a shell script (maked with korn shell) but i want that the
GS> users of my system can run it...
GS> Do you have an idea to make this operation?
GS>
GS> Thanks in advance
GS> Gianluca
GS>

Take a look at 'shc':

http://www.datsi.fi.upm.es/~frosal/sources/shc-3.7.tgz

From the README:

<quote>
A generic shell script compiler. Shc takes a script, which is
specified on the command line and produces C source code. The
generated source code is then compiled and linked to produce a
stripped binary executable. Use with care.
</quote>

--
"... I shook my family tree, and a bunch of NUTS fell out ..."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 08:01 AM
Bela
 
Posts: n/a
Default Re: How to: Crypting shell script

I <bela@bluedog.cc.emory.edu> wrote:
B> Gianluca S. <gianluca2@email.it> wrote:
GS>
GS>> I need to crypt a shell script (maked with korn shell) but i want that the
B>
B> Take a look at 'shc':
B>
B> http://www.datsi.fi.upm.es/~frosal/sources/shc-3.7.tgz

Looks like there's a newer version:

http://www.datsi.fi.upm.es/~frosal/s.../shc-3.8.3.tgz

The man page:

http://www.datsi.fi.upm.es/~frosal/sources/shc.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com