Skip to main content

Display information about local users

Contributors netapp-ahibbard

You can display a list of all local users in a summary form. If you want to determine which account settings are configured for a specific user, you can display detailed account information for that user as well as the account information for multiple users. This information can help you determine if you need to modify a user's settings, and also to troubleshoot authentication or file access issues.

About this task

Information about a user's password is never displayed.

Step
  1. Perform one of the following actions:

    If you want to…​ Enter the command…​

    Display information about all users on the storage virtual machine (SVM)

    vserver cifs users-and-groups local-user show -vserver vserver_name

    Display detailed account information for a user

    vserver cifs users-and-groups local-user show -instance -vserver vserver_name -user-name user_name

    There are other optional parameters that you can choose when you run the command. See the man page for more information.

Example

The following example displays information about all local users on SVM vs1:

cluster1::> vserver cifs users-and-groups local-user show -vserver vs1
Vserver  User Name                   Full Name     Description
-------- --------------------------- ------------- -------------
vs1      CIFS_SERVER\Administrator   James Smith   Built-in administrator account
vs1      CIFS_SERVER\sue             Sue   Jones