| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Shell script encryption
|
Original Message
|
Name: whatisthis
Date: July 11, 2006 at 10:49:05 Pacific
Subject: Shell script encryptionOS: Solaris 8CPU/Ram: 4GB |
Comment: Hi, How do I do partial encryption of shell script? For example, #!/usr/bin/csh set options = (a b c) #//I want the following lines to be encrypted or scrambled so that the users cannot modify them // foreach n (${options}) echo \ $n >> run.txt end Please help. Thanks
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: nails
Date: July 12, 2006 at 08:11:39 Pacific
|
Reply: (edit)I'm not certain what you are asking. If some other unix user has permission to change your script, why wouldn't they still do it even if part of it is encrypted? I'd tighten up the script permissions. Maybe this link will be helpful: http://www.tek-tips.com/viewthread.cfm?qid=834759
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: nails
Date: July 12, 2006 at 13:05:24 Pacific
|
Reply: (edit)Sorry, but I'm still not understanding your problem. You can grant a non-root user the ability of executing a script and take away the read ability.
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Unix Forum Home