Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add scripts for easier user management (add/remove users) #14747

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

velrino
Copy link

@velrino velrino commented Sep 21, 2024

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

image

When run ./remove-user.sh example

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants