vserver services name-service cache unix-user user-by-id delete
Contributors
Suggest changes
Delete an entry
Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.
Description
The vserver services name-service cache unix-user user-by-id delete
command removes the user entries that are cached by the user identifier or UID. If user cache propagation is enabled, the corresponding user-by-name cache entry will also be removed.
Parameters
-vserver <vserver name>
- Vserver (privilege: advanced)-
Use this parameter to specify the Vserver for which the user entries that are cached by the user identifier or UID need to be deleted.
-pw-uid <integer>
- pw_uid field (privilege: advanced)-
Use this parameter to specify the user identifier or UID for which the cached entries need to be deleted.
Examples
The following example deletes all the user entries cached by the user identifer or UID for Vserver vs0 and user identifier or UID 123:
cluster1::> vserver services name-service cache unix-user user-by-id delete -vserver vs0 -pw-uid 123