--- title: "username disable" slug: "username-disable" tags: ["Reference", "CMS 11.x", "EX 11.x", "HX 10.x", "FX 11.x", "AX 11.x", "NX 11.x", "IVX 11.x", "Customer", "Network Security"] updated: 2026-08-04T17:23:24Z published: 2026-08-04T17:23:24Z canonical: "docs.trellix.com/username-disable" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # username disable Disables a user account so that no new sessions are accepted for the account, or limits the local access for the user. Existing user sessions are not terminated. Only the **Admin** role can disable or limit other user accounts; users of any role can limit their own local access. ### Syntax `username <username> disable [ login | local-login | curr-password <currentPassword>]` ### Parameters `username` Name of the user account to be disabled or given limited or no local access. `login` Specifies that the user cannot log in to an appliance locally using a password, but can do so using an SSH authorized key. `local-login` Specifies that the user cannot log in to an appliance locally, but can log in remotely. `curr-password <password>` Specifies the current password of the user entering this command. If this parameter is not supplied and if the system is configured to require the current password for password changes, the system prompts for the current password. ### Examples The following example disables the "jsmith" user account. ``` hostname (config) # username jsmith disable ``` The following example prevents the "tjones" user from logging in to the appliance locally. In this scenario, "tjones" is entering the command, and the system is configured to require the current password for password changes. ``` hostname (config) # username tjones disable local-login curr-password password1234 ``` ### Supported appliances Command parameter `curr-password` introduced in Release 2021.3 for all appliances.