home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / perl / 7597 < prev    next >
Encoding:
Text File  |  1992-12-23  |  846 b   |  29 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!walter!porthos!donner!rdm2
  3. From: rdm2@donner.cc.bellcore.com (mcburnett,roe d)
  4. Subject: Re: setuid question
  5. Organization: Bellcore, Livingston, NJ
  6. Date: Wed, 23 Dec 92 21:34:06 GMT
  7. Message-ID: <1992Dec23.213406.22114@porthos.cc.bellcore.com>
  8. References: <1992Dec23.211810.9925@uvaarpa.Virginia.EDU>
  9. Sender: netnews@porthos.cc.bellcore.com (USENET System Software)
  10. Lines: 17
  11.  
  12. In article <1992Dec23.211810.9925> gaspar@st-louis-emh2.army.mil writes:
  13. [...]
  14. >    1.  open(FOO,"ps ax|");
  15. >    2.  open(FOO,"-|") || exec 'ps -af';
  16. >
  17. >Tainperl keeps saying that my path is insecure.  Is there a way to do
  18. >this?  Thanks for the help.
  19.  
  20. Try "/bin/ps ax|" instead.
  21.  
  22. The insecure path is the one to ps!!
  23.  
  24. -Roe
  25.  
  26. -- 
  27. Roe D McBurnett III Bellcore (908)699-2273 rdm2@chaucer.cc.bellcore.com
  28. #insert <std.disclamer>
  29.