I need a php script to be written for me. This script will create and manage accounts for VPN users. This is what the script will do:
1. login using the admin password
2. admin can choose to create or modify accounts
-if is to create account: The admin will fill up the user name, duration of the account (from 1 to 12 month), and the start time and date of the account as well as the IP address.
the script has to run some ssh commands to create the account. 4 certification keys will be produced on the server. The admin must be able to download them (either click one by one and download or download all in a zip file which is better).
- if is to modify accounts: the admin must be able to see all users and their VPN expiry date, download their certification file from the server if needed and remove them if necessary.
if an account is expired, or the admin decides to remove and account the scipt has to run a line of SSH command to revoke the certificate and remove them off the server.
I hope you understood what I want. don't worry I will provide more details if you win the project.
As it's a simple project, I'm not planning to pay much so don't bid high.
I don't mind wheather you use database of filebased system. Just let me know how you are going to impliment it.