PDA

View Full Version : compiling unix shell scripts


curciea
04-23-02, 09:55
Can anyone pass on some information on how to compile shell scripts or if there is a freeware compiler cout there so won't have to pay for something like Shell-lock?

rnealejr
04-25-02, 17:23
Just chmod the script.

curciea
04-26-02, 13:58
I would like the shell script not to be readable or alterable even by the owner if thats possible.

rnealejr
04-26-02, 19:21
I may not fully understand your situation, but from what you have said so far you can do the following: You can still accomplish this by turning off the rw(read/write) flags on the file and just turn on the x(execute) flag for the file - and change the owner/group to prevent the user from chmoding it back to readable, while still allowing execute.

I have a question: Why do you not want the owner to read/change something they created ???