Suoritettu

php script to create user accounts on linux

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

Taidot: PHP, Linux, MySQL, tietojärjestelmäarkkitehtuuri, Apache

Näytä lisää: php script download upload user system, create dns records php script, php script browser time info user online, linux add user with password one line, php create user linux, integrate user accounts sites php scripts, php script create href subdirectories, linux enable php script folder, simple linux system information php script, php script check user online messenger, create php script logs site grabs info, script create user accounts file, script create user accounts excel, joomla create user accounts script, powershell script create active directory user accounts excel, php script email address validity linux, create ftp accounts linux, create url thumbnail php script linux, email account create php script linux, joomla create user php script

Tietoa työnantajasta:
( 92 arvostelua ) Gorebridge, United Kingdom

Projektin tunnus: #26924555

Myönnetty käyttäjälle:

ninvo

Hi , i can modify that script to make it working as you want . Let's talk in details if you are interested.

$40 USD 1 päivässä
(2 Arvostelua)
1.5

4 freelanceria on tarjonnut keskimäärin 24$ tähän työhön

Lolaji1

Hello, Recent Work Links =============== -- [login to view URL] -- [login to view URL] -- [login to view URL] -- [login to view URL] I am a creative and expert PHP developer and I am confident I can quickly implement your requi Lisää

$10 USD 2 päivässä
(0 arvostelua)
0.0
pedrovieira6

Hello, i can help you with your script. Text me for details we can do it today. Best Regards. Pedro Vieira.

$15 USD 1 päivässä
(0 arvostelua)
0.0
MakarFree

Hi Michael! Thanks for your post! I am a freelancer of freelancer.com but I am a professional web and linux expert. I read the description of the job post and I can complete it completely. I can start immediately if yo Lisää

$30 USD 1 päivässä
(0 arvostelua)
0.0