Re: Speedycgi and Openwebmail

From: Joao S Veiga (debian_at_rf.com.br)
Date: 05/26/04

  • Next message: List User: "Cyrus 2.2 (imap, pop)"
    To: <debian-user@lists.debian.org>
    Date: Wed, 26 May 2004 17:45:05 -0300
    
    

    Hi,

    I was just struggling with the same problem today, and found your post.

    Now that I found the solution - unfortunately only after filing a bug on
    speedy-cgi-perl :(, here it is:

    go:

    cp /usr/bin/speedy /usr/bin/speedy_suid
    chmod 4555 /usr/bin/speedy_suid

    (as per openwebmail documentation)

    then:

    cd /usr/bin/
    rm suidperl
    ln -s sperl5.8.4 suidperl (assuming that's your perl version)

    make sure sperl5.8.4 is suid (chmod 4555 sperl5.8.4 if it's not)

    replace #!/usr/bin/perl for #!/usr/bin/speedy_suid -T -- -T/tmp/speedy, as
    documented for openwebmail,

    remove the suid bit from openwebmail*.pl on the
    /usr/lib/cgi-bin/openwebmail:
    cd /usr/lib/cgi-bin/openwebmail
    chmod u-s openwebmail*.pl

    It looks like the suid bit on the scripts is making perl unhappy. I just
    quickly tested here. Not sure if the missing suid will make a difference
    (but then, we're using suidperl to compensate), but on the quick tests (I'm
    leaving the office NOW) worked.

    BR,

    Joao S Veiga

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: List User: "Cyrus 2.2 (imap, pop)"