PFROOTFIX (was Re: Getting Initiator's UserID for an External -v table process)

Kenneth Brody kenbrody at spamcop.net
Sun Aug 28 11:24:19 PDT 2016


On 8/27/2016 9:03 PM, Stanley - stanlyn.com wrote:
> Hi Ken,
>
>>> Is it only root with that issue?
> I don't know yet.  I am always logged in as root.  From your message
> below, I am assuming that when logged in as root I would be running
> filepro as root?????

When running filePro, you are running with "effective" UID "filepro", and 
"real" UID as yourself.  Normally, this is perfectly fine, and everything in 
filePro works as expected.

However, when "yourself" is "root", then EUID=filepro and RUID=root, and 
some systems don't like RUID=root/EUID=not-root.  (The kernel will prevent 
the process from spawning child processes.)

The default of PFROOTFIX=ON tells filePro that, when RUID=root, set 
RUID=filepro.  That way, you don't have the "bad" combination.  However, as 
you notice, it means SYSTEM commands are run with RUID=filepro as well.

Setting PFROOTFIX=OFF turns off this "fix", and runs RUID=root/EUID=filepro. 
  This will either work, or fail miserably by preventing filePro from 
printing, or from running USER or SYSTEM commands.

> I just set PFROOTFIX=OFF, exported it and it now works as expected.
> Problem solved...

Which means your system isn't one of the "problem" systems.

[...]

-- 
Kenneth Brody


More information about the Filepro-list mailing list