To disable a service, you must be root or have sudo privileges.
For example, to disable the Puppet service, you would run the following command:
svcadm disable network/cswpuppetd:defaultThis will disable the Puppet service and prevent it from running.
To verify that the service has been disabled, you can run the following command:
svcs | grep puppetThis will list all of the services that are currently running, and if the Puppet service is disabled, it will not be listed.