Article View: comp.unix.shell
Article #150Shell Scipt Security
From: as in Bunny
Date: Fri, 24 Jul 1992 15:06
Date: Fri, 24 Jul 1992 15:06
30 lines
1527 bytes
1527 bytes
Greetings, I have produced a lengthy bourne shell script to perform a sequence of system administration tasks for SCO UNIX users. We are looking for a method that we can use to put this shell script on customer sites that require it but protect it at the same time from being hacked around. Whether that be a "shell compiler" or some other mechanism I am open to advice. We need to protect our time and investment in this little project and stop it from being copied and stolen. If anyone has any ideas please help. I do not like to ask for anything without giving something in return so I include a one-liner that I have found useful. It detects control characters that have mistakenly been placed in filenames and displays the control character in the form \nnn. Using this, administrators can inform users in advance why they cannot retrieve mistyped files. find / -type f -print | xargs -t ls -qb 2>/dev/null | grep '\\' --------------------------------------------------------------- Ian Rabbitt ian@wsg.com Whitehorse Systems Group, INC 534 Main St. South Portland ME USA 04106 _______________________________________________________________
Technical Details
Message-ID:
<24@horse.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!horse!ianShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!horse!ian From: ian@horse.UUCP ( as in Bunny) Newsgroups: comp.unix.shell Subject: Shell Scipt Security Message-ID: <24@horse.UUCP> Date: 24 Jul 92 15:06:42 GMT Organization: Whitehorse Systems Group, Inc Lines: 23