Solaris CIFS Administration Guide

ProcedureHow to Disable the Samba Service

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. Verify that the Samba service is running.

    # svcs | grep samba

    For example, the following command shows that the Samba service is running:

    # svcs | grep samba
    legacy_run     Aug_03   lrc:/etc/rc3_d/S90samba
  3. Disable the Samba service.

    # svcadm disable svc:/network/samba
    # svcadm disable svc:/network/wins