Skip to main content

Enable or disable local user accounts

Contributors netapp-ahibbard

You enable a local user account if you want the user to be able to access data contained in the storage virtual machine (SVM) over an SMB connection. You can also disable a local user account if you do not want that user to access SVM data over SMB.

About this task

You enable a local user by modifying the user account.

Step
  1. Perform the appropriate action:

    If you want to…​ Enter the command…​

    Enable the user account

    vserver cifs users-and-groups local-user modify ‑vserver vserver_name -user-name user_name -is-account-disabled false

    Disable the user account

    vserver cifs users-and-groups local-user modify ‑vserver vserver_name -user-name user_name -is-account-disabled true