Piotr Kasztelowicz <[EMAIL PROTECTED]> wrote:

>In my /etc/rc2.d file the rc file for tcpserver has such
>syntax:
>
>#!/bin/sh
>#
># Piotr Kasztelowicz, skrypt uruchamiajacy tcpserver i sshd
>#
>#
>sleep 1
>#
>if [ -f /usr/local/bin/tcpserver -a -f /etc/tcp/tcp.ftp.cdb  ]; then
>       /usr/local/bin/tcpserver -v -x /etc/tcp/tcp.ftp.cdb 212.51.193.152 21 
>/usr/local/sbin/logdaemons/ftpd 2>&1 | /bin/logger -p local1.info -t ftp &        
>echo "starting tcpserver for ftp account"
>fi
>#
>
>How change it to logs done by multilog?

The easiest way is to replace "| /bin/logger ... ftp" with an
appropriate multilog invocation.

The "deluxe" way is run tcpserver via svscan and put the multilog
invocation in the /service/ftp/log/run script.

>I will demonstrate again(in this case is this visible too) the difference
>in tcpserver syntax, about whom has nobody written - this depends
>Solaris. (we have found it intuitionally). There is the syntax,
>which let start tcpserver on Solaris WITHOUT "0" "ZERO" - here
>is got option -x and access control's driving cdb file, IP of server,
>port and location of daemon. The "zero" which is given in syntax
>in all manuals don't work in Solaris!

Sure it does. I use it all the time.

-Dave

Reply via email to