The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
encrypting files in ksh hwollman53 UNIX for Advanced & Expert Users 6 07-24-2006 11:57 AM
masking or encrypting in shell script dshrish UNIX for Dummies Questions & Answers 4 02-16-2006 01:35 AM
Encrypting password Justman AIX 6 12-16-2004 09:08 AM
Encrypting a password for shell script bubba112557 Shell Programming and Scripting 1 11-08-2004 06:33 PM
encrypting Unix flatfile rkumar28 UNIX for Dummies Questions & Answers 1 04-29-2004 10:31 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-28-2007
prashantshukla prashantshukla is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 23
Encrypting a script......

Hiiiiii..... every one.....

I have written a script, and i want to make that script confidential.So that, only i can see that script.

I am using " crypt " command in solaris 9, to encrypt that script.But when i am executing this encrypted script then I am getting an error message that can't execute binary file......

So, is there any way by which I can encrypt as well as execute the encrypted script on my system using solaris 9 ....????

Kindly Reply Soon....

REGARDS.
  #2 (permalink)  
Old 12-28-2007
frank_rizzo frank_rizzo is offline Forum Advisor  
Resident BOFH
  
 

Join Date: Dec 2007
Posts: 426
no. this is not possible.
  #3 (permalink)  
Old 12-28-2007
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,991
you can try shc:
shc - shell script compiler
  #4 (permalink)  
Old 12-28-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by prashantshukla View Post
I have written a script, and i want to make that script confidential.So that, only i can see that script.
Out of interest why?

I've seen this request a few times, it's "security through obscurity", also "bogus security".

What are you actually trying to achieve?
  #5 (permalink)  
Old 12-29-2007
ephemera ephemera is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 2
with ksh93 you can use shcomp to create a binary (intermediate code) that can be run by ksh93.
but I agree with porter^.
  #6 (permalink)  
Old 12-29-2007
dave123 dave123 is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 46
Hey you got me thinking and have found this, which i thought was really good i have tried it and it seems to work well
LinuxSecurity.com)
  #7 (permalink)  
Old 12-31-2007
prashantshukla prashantshukla is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 23
Thanks a lot to everyone...
for your replies......
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0