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
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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.