Find Jobs
Hire Freelancers

php script to create user accounts on linux

$10-30 USD

Completed
Posted over 3 years ago

$10-30 USD

Paid on delivery
Looking for a Freelancer to modify my script to create accounts in a mysql database. The script is below minus ip and password.... <? session_start(); include('Net/[login to view URL]'); $email = $_SESSION['email']; $password = $_SESSION['password']; $user = $email; $pass = $password; $ssh = new Net_SSH2('X', 22); if (!$ssh->login('root', 'X')) { exit('Login Failed'); } // Create Central User Account $no_connections = 4; $cmd = "mysql -u root -e \"USE radius; INSERT INTO radcheck(username,attribute,op,value) VALUES ('$user','Cleartext-Password',':=','$pass');\""; $ssh->exec($cmd); $cmd = "mysql -u root -e \"USE radius; INSERT INTO radcheck(username,attribute,op,value) VALUES ('$user','Simultaneous-Use',':=','$no_connections');\""; $ssh->exec($cmd); header( 'Location: [login to view URL]' ) ; ?> Please let me know if you can help. Many thanks, Michael
Project ID: 26924555

About the project

3 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi , i can modify that script to make it working as you want . Let's talk in details if you are interested.
$40 USD in 1 day
4.1 (29 reviews)
5.0
5.0
3 freelancers are bidding on average $22 USD for this job
User Avatar
Hello, i can help you with your script. Text me for details we can do it today. Best Regards. Pedro Vieira.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Gorebridge, United Kingdom
5.0
121
Payment method verified
Member since Feb 25, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.