Introduction
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
From here, you simply choose the option corresponding to the administrative task you need to complete.
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!