Skip to content

Instantly share code, notes, and snippets.

@khavari
Last active March 17, 2022 21:31
Show Gist options
  • Save khavari/ee5e79665e8c029d996bd6ef12a90e1d to your computer and use it in GitHub Desktop.
Save khavari/ee5e79665e8c029d996bd6ef12a90e1d to your computer and use it in GitHub Desktop.

Change default openvpn account password

cd /usr/local/openvpn_as/scripts

./sacli --user "openvpn" --key "prop_superuser" --value "true" UserPropPut
./sacli --user "openvpn" --key "user_auth_type" --value "local" UserPropPut
./sacli --user "openvpn" --new_pass=<PASSWORD> SetLocalPassword
./sacli start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment