Debian Wheezy 和 SUID Perl

NXT*_*NXT 3 perl debian-wheezy

我刚刚将 Debian Lenny box 升级到 Wheezy,发现 suidperl 不见了。谷歌搜索显示上游维护者删除了它;

需要suidperl 来运行我们的邮件安装,Open Webmail。

我没有时间做这个。

谷歌搜索没有发现简单的解决方法。

这里有人知道如何在 wheezy 上获得 suidperl 吗?简单地?谢谢。

小智 8

底线:如果您没有时间这样做,那么您需要恢复到升级前的系统快照/备份,直到您有时间迁移到不推荐使用已弃用技术的网络邮件系统。

据我回忆(自从我看到一个开放的 webmail 安装可能已经有 8 年了),开放的 webmail 直接读取邮件假脱机(因此需要 suid)而大多数 webmail 系统与 IMAP 服务器交互(推动需要suid 到它所属的邮件服务器)。

据我所知,suidperl在 2008 年的perl 5.12 中被删除(?),因为上游级别(即:Debian 以上)没有人想要维护它 - 或者换句话说,suidperl 不再存在于任何地方。您有幸拥有这么久的唯一原因是因为 Debian 稳定版使用了大多数软件的相当旧版本(带有向后移植的安全修复程序)。Debian 不复存在当然不是 Debian 的错。

如果您出于某种原因真的真的想继续在 wheezy 和更新版本上使用开放式网络邮件,您唯一的选择是遵循http://openwebmail.org/openwebmail/doc/ 上的开放式网络邮件常见问题解答部分 4:e (ps, ps) faq.txt其中指出:

  ps: If you don't want to recompile perl, you choose to may use
      misc/tools/suidwrap.pl to generate C wrappers for all suid scripts.

      However, this is not recommended at all, as you will not be able
      to use SpeedyCGI with the openwebmail system.

      Here are the steps:
      1. cd cgi-bin/openwebmail
      2. perl misc/tool/wrapsuid/wrapsuid.pl /fullpath/cgi-bin/openwebmail
      3. change #!/usr/bin/suidperl to the path of your perl

      All suid scripts will be renamed to .scriptname.pl and
      the C wrapper will be generated and named as script.pl
      (thanks to Chris Heegard, heegard.AT.NativeI.com)

      The spellcheck may not work on Solaris when using C wrappers.
      (thanks to Isam Ishaq, isam.AT.planet.edu)
Run Code Online (Sandbox Code Playgroud)

对不起,坏消息,但有时没有好的答案:\