Re: [Openwebmail]openwebmail-prefs.pl setuid to …
※ 引述《lskuo.bbs@yikun.nstdc.nthu.edu.tw (妙音)》之銘言:
> root:mail 是正確的嗎?
是正確的 :)
要修改權限的東西有幾個,寫成 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 應該都做好了吧?
--
╭───╮╭─╮
│█◤█││█│ ※ Origin: 超級光小站 <SuperLight.twbbs.org>
│█◢◣╮│█│ ※ From : 61-221-34-37.HINET-IP.hinet.net
╰◥◤█││█╰─╮
│█◢█││███│
╰───╯╰───╯
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章