Pages

Wednesday, December 10, 2025

Simplifying Tenable Administration: A Menu-Driven Utility for User Management

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

> git clone https://github.com/2bitninja/Tenable-Utility.git
> cd Tenable-Utility

2. Grant Execution Rights

> chmod +x Tenable-Utility.sh

3. Execute and Select Options

Run the script using sudo. This will launch the interactive main menu

> sudo ./Tenable-Utility.sh

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
7. Reset user password      | 8. Manage Nessus accounts
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:

Nessus User Management
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!



No comments:

Post a Comment