ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have looked and haven't beable to find any answers that would help me..
So here I go..
I have writen up a korn script to be used in solaris and it works but I would like to protect it from it being edited because other people use it and I don't want to trouble shoot something they could of edited and messed up.
So is there away to encrypt the script so its not readable but yet still executeable? Or is there a way to complie it into a format to be used in solaris? Kind of like how you take a bat file for windows and turn it into a com file.
Or is there another lanuage that is close to korn that can be complied that someone can point me in the right direction?
If nobody should be able to write to the disk at all, you could flick the little writable thing on the floppy (one of the corners, if it's open it's non-writable, if it's close it's writable). Otherwise keep a copy on your system and just copy it on everytime you want to give it to somebody new. I don't think there's any elegant solution to keeping windows machines from messing with it.
You could take a small screwdriver and flip that write protect tab out completely. That way a user would have to purposely cover the hole ( tape ) in order to write to the disk. If the users aren't too savey, you might get by with that.
The script writes files to the root dir and to the floppy disk both. So making the floppy locked isn't a real option because it has test reports. And people print those reports out on a windows machine.
but I will try shc today and see if that will do.
Thanks for everyone's help so far.
with the ROT13 do you have to "decrpyt" the script before you can use it? And if so can you give a example of the command line for it?