Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Shell script encryption
Name: whatisthis Date: July 11, 2006 at 10:49:05 Pacific OS: Solaris 8 CPU/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 //
Name: nails Date: July 12, 2006 at 08:11:39 Pacific
Reply:
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
0
Response Number 2
Name: whatisthis Date: July 12, 2006 at 11:20:31 Pacific
Reply:
That's because user has to provide the a,b,c options in the script. They don't have to know the rest.
0
Response Number 3
Name: nails Date: July 12, 2006 at 13:05:24 Pacific
Reply:
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.
Summary: Hi. I am a beginner on scripting. I will write a shell script for string encryption/decryption. the script will take 3 parameters. First one will be a flag telling whether to do encryption or decrypti...
Summary: Could any one suggest me how to encrypt a shell script. I used the command crypt, it encrypted the shell script but when I run this script, it gives me syntax error. Any help would be appreciated. Reg...
Summary: Write a shell script file called letter1. After running the script, it will prompt the user, for an English alphabet, confirm the alphabet chosen, and then search the current directory for all the fil...