Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Fedora Core 3, Suse 9.2 Professional
Posts: 9
Rep:
ftp access to web site hosting
I've set up an http server with multiple virtual sites on a SuSE Linux server. I've also enabled ftp. But how do you enable people to ftp to their particular site to upload and download files. Anything I have found either sets up an anonymous-type ftp site under /svr/ftp, or optionally, allows a user ftp access to their home directory. I'm rather new at this, but it just seems logical to set up the virtual sites home directories under /svr/www, but then how do you give various users access to just their site?
Is this isn't easily answered in this type of forum, does anyone know where I could read an online howto to answer my question?
<Anonymous /svr/www/user_site/>
User ftp
UserAlias user_site ftp
UserPassword ftp crypted_pwd_here
Group nogroup
AnonRequirePassword on
Umask 022
RequireValidShell off
AllowOverwrite On
AuthAliasOnly on
# If you want to add a default dir for the user
# DefaultChdir htdocs
</Anonymous>
Give /svr/www/user_site/htdocs write rights for user ftp, and you're done!
Distribution: Fedora Core 3, Suse 9.2 Professional
Posts: 9
Original Poster
Rep:
Sounds fairly easy - unfortunately, SuSE does not come standard with proftpd. I downloaded and tried to install it, but the rpm had several failed dependencies. And those dependencies were not to be found with SuSE. Beyond that, my experiences haven't given me much hope for trying to track down the dependencies to make it work.
SuSE does have several other ftp's available, including Pure-ftpd, which I tried. I even thought I could set up virtual hosts like you suggested, but I haven't gotten it to work yet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.