Linux - NewbieThis forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I want to create a Web hosting site. I purchased a reseller account, but I don't know what to do. I have enough experience with PHP to create a database and a folder for the user, but I don't know how to create a new FTP user so that the visitor can automatically have generated for him/her instantly a FTP login and restricted access to a folder. I would also like to know if (and how) I can add quotas, max. file sizes, and file type restrictions to that FTP user, but for now I just want to figure out how to make one. (Kudos if you can tell me also the other things.)
I have searched for hours, asked questions on other forums, and practically given up. How can I do this?
I must have FTP installed on my Web host, since I can connect to FTP. How is it that so many Web hosts can easily create FTP accounts for people, but I can't figure it out?!
I don't know what FTP program is being used. I could maybe PM you a phpinfo() result; I don't know if that'll help. I don't know where else to look.
My hosting account has no disabled PHP functions, and I also have Cron jobs, if that helps. I don't think I can install other software on it, but I really don't know. I'm using a master reseller plan on Kryptonite Host (kryptonitehost.com), if that helps, too.
Please, I just want to know how to create FTP users. This is really frustrating me.
Thanks in advance for any help you might bring me!
Probably more information is needed. Looking at the site, they have a demo cPanel interface that includes a graphical setup for adding ftp users and setting up quotas. There is also a section to setup ssh shell access. You might try adding a user or two manually using their panel, and then logging into ssh and then explore what ftp server is used and how it is configured. Learn that before trying to automate the process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.