home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / shell / 3132 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.5 KB

  1. Path: sparky!uunet!horse!ian
  2. From: ian@horse.UUCP ( as in Bunny)
  3. Newsgroups: comp.unix.shell
  4. Subject: Shell Scipt Security
  5. Message-ID: <24@horse.UUCP>
  6. Date: 24 Jul 92 15:06:42 GMT
  7. Organization: Whitehorse Systems Group, Inc
  8. Lines: 23
  9.  
  10.  
  11. Greetings,
  12.  
  13. I have produced a lengthy bourne shell script to perform a sequence
  14. of system administration tasks for SCO UNIX users. We are looking for a 
  15. method that we can use to put this shell script on customer sites that
  16. require it but protect it at the same time from being hacked around.
  17.  
  18. Whether that be a "shell compiler" or some other mechanism I am open
  19. to advice. We need to protect our time and investment in this little project 
  20. and stop it from being copied and stolen.    
  21.  
  22. If anyone has any ideas please help.
  23.  
  24. I do not like to ask for anything without giving something in return
  25. so I include a one-liner that I have found useful.
  26. It detects control characters that have mistakenly been placed in
  27. filenames and displays the control character in the form \nnn.
  28. Using this, administrators can inform users in advance why they cannot
  29. retrieve mistyped files.
  30.  
  31. find / -type f -print | xargs -t ls -qb 2>/dev/null | grep '\\'
  32.  
  33.  
  34. ---------------------------------------------------------------
  35. Ian Rabbitt                                    
  36. ian@wsg.com                                    
  37. Whitehorse Systems Group, INC                   
  38. 534 Main St. South Portland ME USA 04106
  39. _______________________________________________________________
  40.