Create user from text file

Fix #732
This commit is contained in:
Stanislas
2020-12-08 21:39:51 +01:00
committed by GitHub
parent 5acd9a0446
commit ea236de3e3

8
FAQ.md
View File

@@ -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?