How to reset password for user ‘openvpn’ from terminal server. – Forum – Mas AL Forum

BLOG IT SYSADMIN

Daftar akun digitalocean untuk mendapatkan free credit 100$.
DigitalOcean Referral Badge
How to reset passwo...
 
Notifications
Clear all

How to reset password for user 'openvpn' from terminal server.

1 Post
1 Pengguna
0 Reactions
103 Dilihat
Post: 15
Admin
Topic starter
(@alvian)
Eminent Member
Joined: 3 tahun lalu

1. Make sure you can login to the server using the 'root' user

2. Then enter the path of the openvpn system folder:

cd /usr/local/openvpn_as/scripts

3. After that, please run the following command:

./sacli --user "openvpn" --key "prop_superuser" --value "true" UserPropPut
./sacli --user "openvpn" --key "user_auth_type" --value "local" UserPropPut

4. Then enter your new password with the following command:

./sacli --user "openvpn" --new_pass=your_new_password_here SetLocalPassword

5. Run the openvpn operation with the command:

./sacli start

 

Make sure you still remember your openvpn superuser. By default the superuser is 'openvpn'.

Then please reopen your openvpn login portal via a browser with the link https://your_IP_address:943 by entering the new password.

 

Hope this is useful and write a comment if you encounter any problems or if this tutorial works 🙂

Share: