ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver cifs users-and-groups local-user modify

    Modify a local user

    Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

    Description

    The vserver cifs users-and-groups local-user modify command modifies attributes of a local user.

    Parameters

    -vserver <vserver name> - Vserver

    This specifies the name of the Vserver.

    -user-name <CIFS name> - User Name

    This specifies the user name.

    [-full-name <TextNoCase>] - Full Name

    This specifies the user’s full name. If the full name contains a space in the name, enclose it within double quotation marks

    [-description <TextNoCase>] - Description

    This specifies a description for this local user. If the description contains a space, enclose the parameter in quotation marks.

    [-is-account-disabled {true|false}] - Is Account Disabled

    This specifies if the user account is enabled or disabled. Set this parameter to true to disable the account. Set this parameter to false to enable the account.

    Examples

    The following example modifies the full name of the local user "CIFS_SERVER\u1".

    cluster1::> vserver cifs users-and-groups local-user modify -user-name CIFS_SERVER\u1 -full-name "John Smith" -vserver vs1
    Top of Page