11-23-07 06:25 PM
Frank <muede_taube@gmx.de> writes:
> I wrote a rule that calls a program map (perlscript) which calls a
> program with suid bit
>
> sendmail -> PERL program map -> suid shell program (chmod 2755)
>
> but this fails with "illegal seek" in the $! variable of the calling
> PERL script. sendmail runs as unprivigeded user as described in
> sendmail/SECURITY.
> If the PERL script is called from command line the suid shell program
> call works but if the PERL script is invoked from sendmail it gives
> the "illegal seek".
>
> Any suggestions for me?
Have you considered using socket map?
It should eliminate need for using suid programs.
Sample prel script implementing socket map daemon is provided in
contrib/ directory.
--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
[ Post a follow-up to this message ]
|