home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!mcsun!dxcern!dxcern!cons
- From: cons@mercury.cern.ch (Lionel Cons)
- Subject: Perl script started from inetd
- Message-ID: <CONS.93Jan6122445@mercury.cern.ch>
- Sender: news@dxcern.cern.ch (USENET News System)
- Organization: CERN, European Research Center for Particle Physics
- Distribution: comp
- Date: Wed, 6 Jan 1993 11:24:45 GMT
- Lines: 19
-
- Is it safe to start a script (especially a Perl script) from inetd ?
- (by safe I mean that nobody can use the script to break my system)
-
- If my script starts with #!, should I use '/path1/perl /path2/script'
- or only '/path2/script' ?
-
- What must I do to protect the script (signal handling, error
- handling...) ?
-
- Thanks for your help.
- --
-
- Lionel Cons
-
- +------- CERN - European Laboratory for Particle Physics -------+
- | E-mail: cons@dxcern.cern.ch |
- | Earth-mail: CN/SW/WS, CERN, CH-1211 GENEVE 23, Switzerland |
- | Phone: +41 22 767 49 13 Fax: +41 22 767 71 55 |
- +---------------------------------------------------------------+
-