🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.security.misc
Article #928

Perl script started from inetd

#928
From: Lionel Cons
Date: Wed, 06 Jan 1993 11:24
19 lines
1094 bytes
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    |
+---------------------------------------------------------------+
Technical Details
Message-ID: <CONS.93Jan6122416@mercury.cern.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!dxcern!dxcern!cons

Show Full Headers
Complete Article Headers
Newsgroups: comp.security.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!dxcern!dxcern!cons
From: cons@mercury.cern.ch (Lionel Cons)
Subject: Perl script started from inetd
Message-ID: <CONS.93Jan6122416@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:16 GMT
Lines: 19