Feature: Add scripts for easier user management (add/remove users) #14747
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I've added two bash scripts to simplify the user management process in AlgoVPN.
The first script allows for automatically adding new users to the configuration file.
The second script makes it easy to remove existing users from the configuration file.
These scripts help avoid manual edits to the configuration file, making user management more efficient and reducing the risk of errors
Motivation and Context
My motivation for adding these scripts was to streamline the process of managing users in AlgoVPN. By automating the addition and removal of users in the configuration file, the process becomes faster and less error-prone, improving efficiency in managing VPN users
How Has This Been Tested?
Both scripts have been tested locally by adding and removing several users from the configuration file. The scripts were executed in a variety of scenarios to ensure that users are added correctly and removed without affecting other parts of the configuration file.
When run
./add-user.sh example
When run
./remove-user.sh example
Types of changes
Checklist: