看板 FreeBSD 關於我們 聯絡資訊
※ 引述《SuperLight.bbs@superlight.twbbs.org (bad.....)》之銘言: > 是正確的 :) > 要修改權限的東西有幾個,寫成 script 比較方便: > chown_openwebmail.sh > #!/bin/sh > chmod 4555 /usr/bin/suidperl > opmdir='/xxxxxx/openwebmail' > chown -R root:mail $wwwdir > chmod 4755 $opmdir/openwebmail*.pl > chmod 0755 $opmdir/vacation.pl > chmod 755 $opmdir/etc > chmod 771 $opmdir/etc/sessions > chmod 771 $opmdir/etc/users > 不過這些動作 ports 應該都做好了吧? 我新裝的主機也是如此,因為是用ports裝的,權限應該是沒問題的, 但是還是會出現 '/usr/local/www/cgi-bin/openwebmail/openwebmail-prefs.pl' must setuid to root 不知道會不會是perl版本的問題? #pkg_info | grep perl #perl-5.6.1_15 Practical Extraction and Report Language #perl-5.8.5 Practical Extraction and Report Language -- Ξ Origin: 中興大學天樞資訊網 <bbs.nchu.edu.tw> Ξ From : 220-134-247-35.HINET-IP.hinet.net