Manage Account Lockout
You can edit certain configuration settings to manage account lockout behavior on your system.
Note: Tenable Core images built in September 2025 or later do not lock out accounts with expired passwords. Tenable Core images built before September 2025 lock out accounts 30 days after password expiration.
 To remove account lockout configuration from your Tenable Core systems:
To remove account lockout configuration from your Tenable Core systems:
                                                    - 
                                                                In Tenable Core, log in to the shell via the Terminal page or the console. 
- 
                                                                Run the following command: sudo /usr/libexec/tenablecore/unlock_admins.py --confirm Note: If the system returns with "sudo: /usr/libexec/tenablecore/unlock_admins.py: command not found" refer to the following section: To change lockout settings. 
 To check lockout settings for a specific account:
To check lockout settings for a specific account:
                                                    Tip: Tenable strongly recommends that you enable account lockout if your internal policies allow it.
To check what a user’s current setting is:
- 
                                                                In Tenable Core, log in to the shell via the Terminal page or the console. 
- 
                                                                Run the following command: chage -l <username> | grep 'Password inactive' 
When locking is enabled for the named user, this outputs a date by which the password must be changed in order to avoid account lockout. For example:
Password inactive : Aug 24, 2025
Or, when locking is disabled for this user:
Password inactive : never
 To change lockout settings for a specific account:
To change lockout settings for a specific account:
                                                    - 
                                                                In Tenable Core, log in to the shell via the Terminal page or the console. 
- 
                                                                Run the following command, where <ndays> is the number of days after password expiration that the account should be locked (-1 for never): sudo chage -I <ndays> <username> 
 To check the default behavior for users added in the future:
To check the default behavior for users added in the future:
                                                    - 
                                                                In Tenable Core, log in to the shell via the Terminal page or the console. 
- 
                                                                Run the following command: useradd -D | grep INACTIVE 
- 
                                                                If locking is enabled for 30 days (for example) after password expiration then this outputs: INACTIVE=30 Or, if locking is disabled: INACTIVE=-1 
 To change the default behavior for users added in the future:
To change the default behavior for users added in the future:
                                                    - 
                                                                In Tenable Core, log in to the shell via the Terminal page or the console. 
- 
                                                                Run the following command, where <ndays> is the default number of days after password expiration that accounts should be be locked (-1 for never): sudo useradd -D -f <ndays>