Jump to content

proftpd user creation via PHP


ChrisMartino

Recommended Posts

Hey there,

 

Thanks for taking the time to read this I'm looking for some help here i need a script that connects to my server via ssh and creates ftp users and there directories and some files in them so basically everytime i run the script it creates a new name and random pass e.g first time i run the script creates FTP user "svr100", second time i run it "svr200" and creates random passwords and creates the ftp user a directory called there username eg if there username that is created it "svr100" it creates the directory for that user "svr100" and i need it to create the following sub directories in there "gamemodes", "filterscrips", "pawno", "scriptfiles" and help please?? thanks oh yea and the script echos the password and username created too :) thanks  p.s i heard something about using "Linux auth" to do it but I'm not sure how, if you are good at this and do it for me i have a open seat for you as co-owner of my game server hosting company and i have some clients lined up already :) Please help I've looked everywere! :'(

Link to comment
https://forums.phpfreaks.com/topic/171159-proftpd-user-creation-via-php/
Share on other sites

hey that tutorial for adding users is for a different FTP server mines proftpd :/ and it dosent create the users and i need it to make passwords and usernames automaticaly like user 1 "svr100" user 2 "svr200" and each time the script is run it dose a new user and echos the password and username

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.