我刚把Debian Lenny盒升级到Wheezy,发现suidperl不见了。谷歌显示,上游维护人员将其移除;
我需要suidperl来运行我们的邮件安装,打开Webmail。
我没时间谈这个。
谷歌搜索没有简单的解决办法。
这里有谁知道怎么控制喘息吗?简单吗?谢谢。
发布于 2013-10-31 00:12:54
底线:如果您没有时间这样做,那么您需要恢复到升级前的系统快照/备份,直到您有时间迁移到一个不建议使用不推荐的技术的webmail系统。
据我所知(我已经看到开放的webmail安装已经8年了),打开的webmail直接读取邮件线轴(因此需要suid),而大多数的webmail系统则与IMAP服务器交互(将suid的需求推到它所属的mailserver )。
据我所知,suidperl在2008年的perl 5.12中被删除(?)因为上游级别(即Debian之上)没有人想要维护它--换句话说,suidperl在任何地方都不存在。您之所以幸运地使用了这么长时间,唯一的原因是Debian稳定使用了大多数软件的旧版本(带有支持的安全修复)。不再存在当然不是Debian的错。
如果出于某些原因,您真的想继续使用打开的webmail,那么您唯一的选择是遵循open第4节:e (ps,ps)在http://openwebmail.org/openwebmail/doc/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)遗憾的是坏消息,但有时没有好的答案:\
发布于 2014-05-23 01:39:00
我让openwebmail 2.53+与快速和c-包装器一起工作:
1-从http://daemoninc.com/SpeedyCGI/download.html下载快速2.22源
2-提取tar.gz并对其进行编辑以进行编译:
/src/快速后端_main.h:
-#define speedy_new(s,n,t)新(123,s,n,t)
+#define speedy_new(s,n,t)新闻(S,n,t)
(http://sourceforge.net/p/speedycgi/bugs/91/#7fc6)
3- perl Makefile.PL;make;Makefile.PL(不用费心添加-DIAMSUID)
4-换个#!在您的openwebmail*.pl上的行
/usr/bin/速-T/tmp/速
5-在openwebmail*.pl目录上,运行c包装脚本(相应地更改dir ):
perl misc/tools/wrapsuid/wrapsuid.pl /var/www/owtest/cgi-bin/openwebmail
6- chmod u+s openwebmail*pl
这在我的挤压服务器(我准备升级到喘息,所以我需要这个工作)。
(请注意,我的openwebmail 2.53不是股票2.53,但可能介于它和3 3beta之间,但它应该对两者都适用)
https://serverfault.com/questions/549770
复制相似问题