Recover a Locked Out Account
When an account is locked out, after entering the user name and password on the Tenable Core login page, the following alert appears:
If there remains one or more administrator accounts that are not locked out, an administrator may log in to the user interface, set a temporary password for any locked out account, and force the user to change the password upon the next login. However, if all of the administrator accounts are locked out then the recovery procedure depends upon the platform.
Recovery Actions
| Environment | Platform | More Information | 
|---|---|---|
| Virtual Machine | VMware | |
| Microsoft Hyper-V | ||
| Nutanix | ||
| Cloud | Amazon Web Services (AWS) | |
| Microsoft Azure | 
 Recover locked out account in VMware
Recover locked out account in VMware
                                                    - 
                                                                Download Tenable’s account recovery ISO from: https://appliance.cloud.tenable.com/repos/unlock_admins.iso 
- 
                                                                Log into vSphere Client. 
- 
                                                                Upload the recovery ISO to a datastore in vSphere Client. 
- 
                                                                Locate the Virtual Machine (VM). 
- 
                                                                Power Off the VM. 
- 
                                                                Add a CD/DVD drive to the VM. This can be found under the Summary tab on the VM Hardware tile. 
- 
                                                                Click Edit. 
- 
                                                                Click Add New Device. 
- 
                                                                Set the CD/DVD Media to the ISO file in the datastore. 
- 
                                                                Power On the VM. 
- 
                                                                When it comes up, log into the newly unlocked account. Note: You must change your password for this account. 
 Recover locked out account in Microsoft Hyper-V
Recover locked out account in Microsoft Hyper-V
                                                    - 
                                                                Download Tenable’s account recovery ISO from: https://appliance.cloud.tenable.com/repos/unlock_admins.iso 
- 
                                                                Navigate to your Hyper-V interface. 
- 
                                                                Shut down the virtual machine (VM). 
- 
                                                                In VM settings > DVD Drive, set the Media to Image file. 
- 
                                                                Browse to the Tenable account recovery ISO file you downloaded and open it. 
- 
                                                                Start the VM. 
- 
                                                                When it comes up, log into the newly unlocked account. Note: You must change your password for this account. 
 Recover locked out account in Nutanix
Recover locked out account in Nutanix
                                                    - 
                                                                Download Tenable’s account recovery ISO from: https://appliance.cloud.tenable.com/repos/unlock_admins.iso 
- 
                                                                Upload the ISO image into the Nutanix datastore. Note: The + Upload Image button can be found under Settings > Image Configuration. Be sure to set the Image Type to ISO. Settings > Image Configuration. Be sure to set the Image Type to ISO.
- 
                                                                Power Off the virtual machine (VM). 
- 
                                                                Update the VM by adding, or updating, the CD-ROM disk. If there’s already a disc mounted, then eject it. 
- 
                                                                Set the Operation to Clone from Image Service. 
- 
                                                                Select the ISO image you uploaded into the Nutanix datastore. 
- 
                                                                Power On the VM. 
- 
                                                                When it comes up, log into the newly unlocked account. Note: You must change your password for this account. 
 Recover locked out account in Amazon Web Services (AWS)
Recover locked out account in Amazon Web Services (AWS)
                                                    - 
                                                                Log into the AWS portal. 
- 
                                                                Find your EC2 instance. 
- 
                                                                Stop the instance. 
- 
                                                                Edit the user data. Note: User data can be found under Actions > Instance settings. 
- 
                                                                Modify the user data as text and enter: Copy#cloud-config
 bootcmd:
 - /usr/bin/chage -I -1 -E -1 ec2-user
- 
                                                                Start the EC2 instance. 
- 
                                                                When it comes up, log into the newly unlocked account. Note: You must change your password for this account. 
 Recover  locked out account in Microsoft Azure
Recover  locked out account in Microsoft Azure
                                                    - 
                                                                In the Azure portal, bring up the virtual machine (VM) and navigate to Settings > Operating system. 
- 
                                                                Check the Modify user data box. 
- 
                                                                In the User data field enter: Copy#cloud-config
 bootcmd:
 - /usr/bin/chage -I -1 -E -1 <username>Where <username> is the name of the account to be unlocked. For example, in the following screenshot <username> is “azureuser." 
- 
                                                                Click Apply. 
- 
                                                                Restart the VM. 
- 
                                                                When it comes up, log into the newly unlocked account. Note: You must change your password for this account. 




