*BSD News Article 99589


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!news.eli.net!uunet!in1.uu.net!160.45.4.4!fu-berlin.de!nntprelay.mathworks.com!news.maxwell.syr.edu!spring.edu.tw!serv.hinet.net!netnews.hinet.net!news
From: vcba79@ms1.hinet.net (Vincent Chen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: suid perl under freebsd won't work?
Date: Sun, 13 Jul 1997 18:45:05 GMT
Organization: Vincent Research
Lines: 29
Message-ID: <33c91f70.2880009@netnews.hinet.net>
NNTP-Posting-Host: h86.s81.ts.hinet.net
X-Newsreader: Forte Free Agent 1.11/32.235
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44376


Hi,

  I plan to let my user change their password via
web access and start to write an experimental perl
script. the script follows:

-rwsr-xr-x  1 root  wheel    87 Jul 14 02:38 dumppass.pl

#!/usr/local/bin/suidperl -U
#

@ARGV='/etc/master.passwd';
while(<>) {
 print $_;
};

  This script supposed to dump whole password file
but it give me nothing. So I can't go further. Any 
comment would be greatly appreciated.


---

Vincent Chen
vcba79@ms1.hinet.net
Taipei,Taiwan					
R.O.C.