home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!walter!porthos!donner!rdm2
- From: rdm2@donner.cc.bellcore.com (mcburnett,roe d)
- Subject: Re: setuid question
- Organization: Bellcore, Livingston, NJ
- Date: Wed, 23 Dec 92 21:34:06 GMT
- Message-ID: <1992Dec23.213406.22114@porthos.cc.bellcore.com>
- References: <1992Dec23.211810.9925@uvaarpa.Virginia.EDU>
- Sender: netnews@porthos.cc.bellcore.com (USENET System Software)
- Lines: 17
-
- In article <1992Dec23.211810.9925> gaspar@st-louis-emh2.army.mil writes:
- [...]
- > 1. open(FOO,"ps ax|");
- > 2. open(FOO,"-|") || exec 'ps -af';
- >
- >Tainperl keeps saying that my path is insecure. Is there a way to do
- >this? Thanks for the help.
-
- Try "/bin/ps ax|" instead.
-
- The insecure path is the one to ps!!
-
- -Roe
-
- --
- Roe D McBurnett III Bellcore (908)699-2273 rdm2@chaucer.cc.bellcore.com
- #insert <std.disclamer>
-