System command on FreeBSD...
Jay R. Ashworth
jra at baylink.com
Mon Jan 3 09:16:54 PST 2005
On Wed, Dec 29, 2004 at 04:43:35PM -0500, Kenneth Brody wrote:
> > 2. Does this work on SCO OpenServer? I thought their commends to change
> > the effective uid were a one-way trapdoor.
>
> As listed in the docs for PFSYSEUID:
>
> A SYSTEM command will be executed without the filePro setuid. Some
> systems may not allow a program to reclaim a setuid after giving it
> up. On these systems, setting this variable will cause bad things
> to happen to filePro. SCO OSV5 does not have a problem with this.
> Linux kernels prior to 1.1.37 have a problem.
I'm confused.
SYSTEM will spawn a *subshell*, and it should be the *subshell* wherein
filePro drops the EUID... which will fail to affect the parent at all,
no?
Is it not done in the subshell?
If so, is there a specific reason why not?
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274
If you can read this... thank a system adminstrator. Or two. --me
More information about the Filepro-list
mailing list