home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / perl / 7678 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.0 KB  |  31 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!mcsun!dxcern!dxcern!cons
  3. From: cons@mercury.cern.ch (Lionel Cons)
  4. Subject: Perl script started from inetd
  5. Message-ID: <CONS.93Jan6122445@mercury.cern.ch>
  6. Sender: news@dxcern.cern.ch (USENET News System)
  7. Organization: CERN, European Research Center for Particle Physics
  8. Distribution: comp
  9. Date: Wed, 6 Jan 1993 11:24:45 GMT
  10. Lines: 19
  11.  
  12. Is it safe to start a script (especially a Perl script) from inetd ?
  13. (by safe I mean that nobody can use the script to break my system)
  14.  
  15. If my script starts with #!, should I use '/path1/perl /path2/script'
  16. or only '/path2/script' ?
  17.  
  18. What must I do to protect the script (signal handling, error
  19. handling...) ?
  20.  
  21. Thanks for your help.
  22. --
  23.  
  24. Lionel Cons
  25.  
  26. +------- CERN - European Laboratory for Particle Physics -------+
  27. | E-mail: cons@dxcern.cern.ch                                   |
  28. | Earth-mail: CN/SW/WS, CERN, CH-1211 GENEVE 23, Switzerland    |
  29. | Phone: +41 22 767 49 13              Fax: +41 22 767 71 55    |
  30. +---------------------------------------------------------------+
  31.