solaris 10 proftpd with inetd and tcp_wrappers

If I use an old inetd based service that specified /usr/sbin/tcpd for proftpd, do I have to include that when I use inetconv to create the service manifest.

For example.

I currently use proftpd for ftp with tcp_wrappers. My old inetd line was

ftp stream tcp nowait root /usr/sbin/tcpd /usr/local/sbin/in.proftpd.

If I want to create a manifest for this, do I include /usr/sbin/tcpd in the line as it was before?

Thank you

Just put the line in /etc/inetd.conf as normal and run inetconv. Solaris will create the appropriate inet/smf artifacts for you.

Thank you.

Sometimes I need to turn off tcp_wrappers for proftpd and I used to just edit inetd.conf and HUP inetd.

I know with Solaris 10 I can use inetadm -m ftp tcp_wrappers=false to turn off wrappers for ftp, can I do the do the same when I this to create the manifest?

ftp stream tcp nowait root /usr/sbin/tcpd /usr/local/sbin/in.proftpd

Thank you

---------- Post updated at 08:47 PM ---------- Previous update was at 06:36 PM ----------

Before creating the manifest, I issued these commands which seem to work. What is the downside to this method? This will stay after reboots, correct?

# inetadm -m svc:/network/ftp:default exec="/usr/local/sbin/in.proftpd"
# svcadm enable ftp