Page 1 of 1

Adding Users in php?

Posted: Sun May 27, 2018 3:24 am
by josephchrzempiec
Hello I'm new to VPN and I'm running the pivpn open vpn. But i was wondering If there is a possible to adding user using php webpage? Sometimes i cannot able to get local access to the Pi or ssh in But again i was something if there is a way to add a user in php webpage?



Joseph

Re: Adding Users in php?

Posted: Mon May 28, 2018 1:46 pm
by bbuckm
You might be able to do it with FreeRADIUS + DaloRADIUS.

Re: Adding Users in php?

Posted: Fri Dec 21, 2018 4:33 pm
by vnpenguin
josephchrzempiec wrote:
Sun May 27, 2018 3:24 am
Hello I'm new to VPN and I'm running the pivpn open vpn. But i was wondering If there is a possible to adding user using php webpage? Sometimes i cannot able to get local access to the Pi or ssh in But again i was something if there is a way to add a user in php webpage?

Joseph
Yes, you can do yourself with PHP:
  • Write shell script to do that job under root
  • From PHP, run shell script by using "ssh2" module