上一页 1 2 3 4 5 6 下一页
4. RPC类服务例子
【范例4】/etc/xinetd.d/rstatd
service rstatd
{
type = RPC
socket_type = dgram
protocol = udp
server = /usr/etc/rpc.rstatd
wait = yes
user = root
rpc_version = 2-4
env =LD_LIBRARY_PATH=/etc/securelib
}
【范例4】/etc/xinetd.d/sample
service sample
type = UNLISTED
socket_type = stream
protocol = tcp
server = /usr/bin/sample
port =20020