Managing a robust security infrastructure often means interacting with multiple administrative interfaces, and Tenable environments (Nessus and Tenable.sc) are no exception. Performing routine tasks like resetting a password or simply managing user access can become repetitive, especially in environments without seamless directory integration.
Crucially, when an administrator or standard user account gets locked out, gaining back immediate access can be a critical, high-stress scenario. This script offers a rapid solution for those situations.
To streamline these common administrative headaches, I developed the Tenable Utility, a simple, menu-driven Bash script designed to centralize and automate essential user management tasks for both Tenable.sc and Nessus.
Core Features of the Tenable Utility
The Tenable-Utility.sh script provides a clear, numbered menu system to execute privileged commands against your Tenable installations.
1. Quick Lock/Unlock: Quickly unlocking an administrator or standard user account.
2. Password Resets: Reset a Tenable.sc user's password to a known default value.
3. Add/Remove Users: (Nessus only) Add a new Nessus user or removing an existing one
Getting and Running the Script
Because this script performs administrative actions directly on the backend files of Tenable products, it must be run with the appropriate permissions.
Requirements:
- Tenable.sc and/or Nessus installed on a Linux or macOS system
- Root or sudo privileges.
Installation and Usage
1. Clone the Repository
> cd Tenable-Utility
2. Grant Execution Rights
3. Execute and Select Options
Run the script using sudo. This will launch the interactive main menu
When executed, the script will display a menu that allows you to choose from various administrative options related to Tenable.sc and Nessus.
Menus
Tenable.sc User Management
After running the script, you'll be presented with a menu. Pick an option to perform the corresponding task:
What do you want to do?
1. Unlock admin account | 4. Lock admin account
2. Unlock all accounts | 5. Lock all accounts
3. Unlock one account | 6. Lock one account
9. Exit program
Nessus User Management Menu
If you select option 8, you'll enter the Nessus User Management menu where you can manage Nessus user accounts:
1. Add user | 3. Change password
2. Remove user | 4. Exit
Conclusion
The Tenable Utility offers Tenable administrators a fast, reliable, and convenient way to handle crucial user management and operational tasks. Instead of navigating complex UIs or recalling lengthy command syntax, you can execute necessary changes from a single, simple menu.
If you are looking to simplify your daily administrative routine, check out the repository today and integrate this utility into your toolbox!
Tenable-Utility on GitHub
Feel free to check out the script, use it, and let me know if you have any suggestions for improvements!How to Reset Passwords for Tenable.sc

No comments:
Post a Comment