james curley writes:
> Hi guys, new to Solaris 10.... trying to ensure that certain services have 
> been disabled, used to check inetd.conf, if it's not in there good to go, 
> other wise comment it out and HUP... 

The rough equivalent on Solaris 10 (and up) would be "inetadm."  Just
run the command to get a list, and see the inetadm(1M) man page for
details.

> now I understand the svcadm disable [FMRI]... but is there a way to search 
> for the FMRI of more obscure services?

The right answer here is to read the documentation for the service in
question.

> For example, i want to have a command that would disable systat...  
> 
> svcadm disable systat 
> 
> how could I find this information out?

Solaris doesn't ship with an actual implementation of "systat" (TCP
port 11), so there won't be a way to disable it.

If you've installed some other software on top of Solaris that
delivers this feature, then see the documentation provided with that
software.  If it really supports SMF, then the command might be
exactly as you describe.  If it doesn't, then you might have to do
something else.  It's not our software, so it's impossible to tell.

All that said, I think the most common way to implement the scary old
'systat' service would be to do this:

# echo systat stream tcp nowait root /usr/bin/ps ps -ef >> /etc/inetd.conf
# inetconv

That should give you a service named "svc:/network/systat/tcp:default"
that you can disable with:

        svcadm disable systat/tcp

... but I'd avoid creating that in the first place.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to