home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / software / 2732 < prev    next >
Encoding:
Text File  |  1992-11-20  |  664 b   |  22 lines

  1. Newsgroups: comp.sys.next.software
  2. Path: sparky!uunet!usc!rpi!psinntp!psinntp!juliet!news
  3. From: rjo@leo (Robert Opferman)
  4. Subject: Perl on 3.0
  5. Message-ID: <1992Nov19.223814.11022@fnbc.com>
  6. Keywords: perl suid
  7. Sender: news@fnbc.com
  8. Organization: First National Bank Of Chicago, Chicago IL, USA
  9. Date: Thu, 19 Nov 92 22:38:14 GMT
  10. Lines: 10
  11.  
  12. I am having problems using setuid perl scripts since my upgrade to 3.0.
  13. I have lost the use of $< and $> variables.  When I try the following  
  14. little test:
  15. print "the id is ",(getpwuid($>)),"\n";
  16. print "the id is ",(getpwuid($<)),"\n";
  17.  
  18. both respond with a blank.  It does work fine with a specific uid.
  19.  
  20. Bob O.
  21. rjo@fnbc.com
  22.