New Solaris Administrators Blog

We are proud to announce our new site:

Solaris Server Administrators and Security

↑ Grab this Headline Animator

jueves, 21 de febrero de 2008

Disabling services in Solaris 10

To disable a service you have to be root or have a sudo, for example, i want to disable nfs:

-bash-3.00# svcs | grep nfs
online 16:29:25 svc:/network/nfs/status:default
online 16:29:29 svc:/network/nfs/mapid:default
online 16:29:44 svc:/network/nfs/nlockmgr:default
online 16:32:55 svc:/network/nfs/rquota:default
online 18:49:36 svc:/network/nfs/server:default

I will disable the nfs server:
# svcadm disable network/nfs/server