[PerlChina] 又一问题:如何切换用户权限?

Achilles Xu formalin14 at gmail.com
Thu Jun 5 00:50:13 PDT 2008


比较笨的办法是你用expect ssh登录回你的服务器(用root)然后执行相应操作。正规途径的话,你就得看看sudo了。

在08-6-5,gary.jsz <gary.jsz at gmail.com> 写道:
>
>
>  现在又来一个问题。
> 因为http的执行者是apache,那么,我怎么成切换高级用户的权限执行我要做的事情呢?
>
> _______________________________________________
> China-pm mailing list
> China-pm at pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>



-- 
---------------------------
Achilles Xu
http://www.lostcode.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/china-pm/attachments/20080605/085e0344/attachment.html 


More information about the China-pm mailing list