PL/PerlU problems executing other scripts

From: Ian Warford <ian(at)ek3(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: PL/PerlU problems executing other scripts
Date: 2003-09-08 14:30:27
Message-ID: 3F5C9283.6030300@ek3.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

I have a problem with a PL/PerlU function trying to execute an external
perl script.

The script is suid to a non-root user and I am executing it in the
PL/PerlU function as so :

$rc = system "/usr/bin/suidperl", "-T", "/usr/local/bin/script.pl";

The script doesn't go off, and the return code is printed out as 6400.
Executing the same script this way from the command line or a standalone
perl interpreter runs just fine.

I am running the Redhat Database version of Postgres (which equates to
7.2.3) on Redhat 8.0.

Any help would be appreciated.

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-09-08 14:53:26 Re: decrypted pwd
Previous Message Franco Bruno Borghesi 2003-09-08 14:21:39 SRF question