Skip to content

Commit

Permalink
Create user from text file
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan authored Dec 8, 2020
1 parent 5acd9a0 commit ea236de
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit ea236de

Please sign in to comment.