For non-inetd based services, to create your own instance with
SMF you can do:

svccfg -s network/ssh add myinst

and you get ssh:default as well as ssh:myinst.

Now suppose I have a telnet service that is run from inetd, its
FMRI is svc:/network/telnet:default.  Presumably I could take
that and do this:

svccfg -s network/telnet add myinst

If I did this, would telnet:myinst also be an inetd service?

To go another step, if I wanted to run an extra inetd,
and created a new instance for it using the same mechanism:

svccfg -s network/inetd add myinst

Would I then get a new instance of rlogin, telnet, etc, to go
with inet:myinst and if so, how would these interact with the
other :myinst's that I've created?

Darren


Reply via email to