[5265] in SIPB bug reports
archie on the SGI
daemon@ATHENA.MIT.EDU (Eric Mumpower)
Thu Mar 30 10:47:23 1995
Date: Thu, 30 Mar 95 10:46:36 -0500
To: bug-sipb@MIT.EDU
Cc: sipb-sgi-dev@MIT.EDU
From: Eric Mumpower <nocturne@MIT.EDU>
Currently, there is no symlink in the SGI bindir to the archie perl script.
The script "archie", present in the SIPB locker for most platforms, relies
on the existence of a "hostname" binary in /bin or /usr/bin; on the SGI,
"hostname" lives only in /usr/bsd/hostname. I include an incredibly trivial
but possibly insecure patch of my own making.
Does anyone know a good reason I shouldn't just apply this patch and
install the symlink for archie for the SGI?
- Eric
--- archie.orig Thu Mar 30 10:42:03 1995
+++ archie Thu Mar 30 10:41:53 1995
@@ -193,7 +193,7 @@
# now construct our own address
# dnb@meshugge.media.mit.edu gave the patch to satisfy taintperl.
$PATH = $ENV{'PATH'};
-$ENV{'PATH'} = '/bin:/usr/bin';
+$ENV{'PATH'} = '/bin:/usr/bin:/usr/bsd';
chop($thishost = `hostname`);
$ENV{'PATH'} = $PATH;
($name, $aliases, $type, $len, $thisaddr) = gethostbyname($thishost);