IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> 在 OpenBSD 沙盒环境下使用 php-oci8@emul-linux 的要点
猫猫草
post 2009-08-19 20:13:09, Wed
Post #1


猫猫猫
***

Group: Power Cat
Posts: 626
Joined: 2006-12-8
Member No.: 2



沙盒环境 /etc 目录相关文件中必须实际存在沙盒环境所用用户 ID 的对应用户信息,否则 oci8 会错误退出

举例,若沙盒环境以如下命令启动:

代码
chroot -u _tcp_19000 -g _tcp_19000 /data/srv/_tcp_19000/ /go.sh


则必须首先在沙盒环境中添加过 _tcp_19000 这个用户,且其 UID、GID 均需与沙盒用户保持一致
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2024-11-1 17:35