LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 05-12-2005, 12:17 AM   #1
dbtx
LQ Newbie
 
Registered: Jan 2004
Location: CA, USA
Distribution: Fedora Core 3, Suse 9.2 Professional
Posts: 9

Rep: Reputation: 0
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?

Thanks.
 
Old 05-12-2005, 05:54 PM   #2
tibob
LQ Newbie
 
Registered: May 2005
Location: Germany
Distribution: Debian unstable
Posts: 10

Rep: Reputation: 0
Virtual ftp with proftpd

Hi,

I use proftpd to do this.

For each folder, I add a virtual host:

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

Cheers,

tibob
 
Old 05-13-2005, 03:07 PM   #3
dbtx
LQ Newbie
 
Registered: Jan 2004
Location: CA, USA
Distribution: Fedora Core 3, Suse 9.2 Professional
Posts: 9

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 05:14 PM
Web site hosting Xonoss Linux - Newbie 5 02-08-2005 09:55 PM
Best Distro for a web/ftp site? sthebig Linux - Distributions 3 09-15-2004 11:25 AM
Where I can get cheap web hosting with ftp access? BlackEcho General 7 11-18-2003 07:30 AM
Monitering web site access psychoholic Linux - Software 2 03-23-2003 04:37 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration