Last change
on this file was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
File size:
247 bytes
|
Rev | Line | |
---|
[c5c522c] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | USER=$1 |
---|
| 4 | NOPASS=$2 |
---|
| 5 | |
---|
| 6 | if ! [ "$USER" ]; then |
---|
| 7 | echo "Usage: $0 <username> [<nopass>]" |
---|
| 8 | echo "Example:" |
---|
| 9 | echo "$0 bla.linuxsysteem.nl geert nopass" |
---|
| 10 | exit 1 |
---|
| 11 | fi |
---|
| 12 | |
---|
| 13 | set -e |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | ./easyrsa build-client-full $USER $NOPASS |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | ./syn3-genconfig $USER |
---|
| 20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.