A service that is controlled by inetd is an SMF service that was converted from a configuration in the inetd.conf file. The inetd command is the delegated restarter for these services.
The following procedure shows how to change property values of services that are controlled by inetd.
To confirm that the service you want to modify is controlled by inetd, invoke the inetadm command with no options or arguments to list all inetd controlled services. The following example shows only a partial list.
$ inetadm ENABLED STATE FMRI enabled online svc:/application/cups/in-lpd:default ... disabled disabled svc:/application/x11/xfs:default
The -l option of the inetadm command lists all the properties of the inetd controlled service. In the following example, the error message indicates that the specified service is not an inetd controlled service. “No restarter property” means that the master restarter, svc.startd, manages the service instance.
$ inetadm -l ssh Error: Specified service instance "svc:/network/ssh:default" has no restarter property. inetd is not the delegated restarter of this instance.
Similarly, in the following example, the message “Couldn't find property 'general/restarter'” indicates that the default restarter, svc.startd, manages the service instance.
$ svcprop -p general/restarter ssh svcprop: Couldn't find property 'general/restarter' for instance 'svc:/network/ssh:default'.
If a service is controlled by inetd, its restarter is inetd, as shown in the following example.
$ svcprop -p general/restarter xfs svc:/network/inetd:default