From ea236de3e32d2404632f6ccf63b1b4b9ee36f647 Mon Sep 17 00:00:00 2001 From: Stanislas Date: Tue, 8 Dec 2020 21:39:51 +0100 Subject: [PATCH] Create user from text file Fix #732 --- FAQ.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/FAQ.md b/FAQ.md index 8125194..825a9ba 100644 --- a/FAQ.md +++ b/FAQ.md @@ -125,6 +125,14 @@ for i in ${userlist[@]};do done ``` +From a list in a text file: + +```sh +while read USER + do MENU_OPTION="1" CLIENT="$USER" PASS="1" ./openvpn-install.sh +done < users.txt +``` + --- **Q:** How do I change the default `.ovpn` file created for future clients?