Re: slackware and openwebmail

From: Snakkes (torch_at_c2i.net)
Date: 10/28/03


Date: 28 Oct 2003 12:31:06 +0200

Thx for the fast reply.

Im going to use the specified solution you propose, but i cant get by step
3. Where do i(in what file) change the path of perl?

Regards

Snakez

"Thorsten Winkler" <thorsten.winkler@foni.net> wrote in message
news:3f9e4910$1@olaf.komtel.net...
> Snakkes wrote:
>
> Hi!
>
> > -bash: ./openwebmail-tool.pl: /usr/bin/suidperl: bad interpreter: No
such
> > file or directory
>
> suidperl is not installed in an 'out of the box'-slackware installation.
>
> If you compile perl yourself you need, if I remember right, to add some
> options to the config.sh.
>
> However, I would advise to not use suidperl. There is a script in
> .../cgi-bin/openwebmail/uty/wrapsuid.pl you can use to create wrappers.
>
> Quote from http://openwebmail.org/openwebmail/doc/faq.txt:
>
> "Or use uty/suidwrap.pl to generate C wrappers for all suid scripts.
> Here are the steps:
> 1. cd cgi-bin/openwebmail
> 2. perl uty/wrapsuid.pl /fullpath/cgi-bin/openwebmail
> 3. change #!/usr/bin/suidperl to the path of your perl"
>
> This worked perfectly for my slackware.
>
> Ah, and don't forget to adjust the location for 'shadow' in
> .../cgi-bin/openwebmail/auth_unix.pl ;-)
>
> Hope that helps,
>
> --
> Thorsten Winkler
>