These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Creating a "custom" FTP on the new forum.
Hallo again. I seem to create many new topics in this forum. Anyway, I have a question once again.
I need to create an FTP account with a home directory: /home/customers/blabla/xxx/yyy/ (this is not a usual directory of the ftp server htdocs which is: /home/customers/public_html )
I just need an FTP. No SSH, No email, no web access. Solely an FTP for editing some files on the server in the above given directory.
I have a Virtual Server "customers" if that is of any relevance.
How can I do that.
I will accept any solution starting from installing some module and up to a custom written line in the FTP Server configs. Though a convenient way direct from webmin would be nice.
Regards, Rebrain
Hello,
If you go into Virtualmin and choose the domain in question from the dropdown, go into "Edit Mail and FTP Users", and you'll see an option labeled "Add a website FTP access user".
When you create it, it won't be the home directory you want, it'll be using /home/customers/public_html. I'm not sure of a way around that when creating it. Go and and create that anyhow, and we can just change it.
Now that the user exists, you can manually edit the users home directory (from either the command line, or by going into Webmin -> System -> Users and Groups), and change it to the correct directory.
If someone knows of a better way, perhaps they'll speak up, but that's probably the way I'd do it... that's not too bad unless you had quite a few to add :-)
-Eric
That works! Yay! :)
Thank you for helping, you are the man!
Regards, Rebrain