[8462] in Info-AFS_Redistribution
RE: Can one find a mount point just knowing the volume name?
daemon@ATHENA.MIT.EDU (Stephen Joyce)
Thu Feb 8 12:58:42 2001
Date: Thu, 8 Feb 2001 12:52:51 -0500 (EST)
From: Stephen Joyce <stephen@physics.unc.edu>
To: "Neulinger, Nathan R." <nneul@umr.edu>
Cc: "'Morris Strongson'" <mms@bnl.gov>, info-afs@transarc.com
In-Reply-To: <F349BC4F5799D411ACE100D0B706B3BB34259F@umr-mail03.cc.umr.edu>
Message-Id: <Pine.GSO.4.10.10102081247390.12194-100000@titan.physics.unc.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Well, I run the script unattended via a wrapper script which explicitly
sets the path to a known value (in addition to some other tasks such as
getting tokens, logging the output, etc). You're right it should probably
explicitly call /usr/afsws/bin/fs though.
On Thu, 8 Feb 2001, Neulinger, Nathan R. wrote:
> > $vol = `fs lsmount $name`;
>
> I hope you don't plan on running that script with a user that has any
> privileges as you've got a gaping security hole right there.
>
> -- Nathan
Cheers,
Stephen
--
Stephen Joyce
Systems Administrator P A N I C
Physics & Astronomy Department Physics & Astronomy
University of North Carolina at Chapel Hill Network Infrastructure
voice: (919) 962-7214 and Computing
fax: (919) 962-0480 http://www.panic.unc.edu