Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jan 1998 11:01:10 +0000
From:      laszlo vagner <kf7nn@mutsgo.dyn.ml.org>
To:        questions@FreeBSD.ORG
Subject:   ftp directories vs telnet 
Message-ID:  <34C9C9F6.FCC2603@mutsgo.dyn.ml.org>

next in thread | raw e-mail | index | archive | help
Here is another dumb question for someone who knows enough to get
himself in a bit of trouble.

I want to put people who have an account on my machine into their
respective web page directory if they log in with
a username and password thru FTP, but if they telnet in i want them to
go to their /home/xxxuser directory also
if they FTP in using anonymous login they go to the /var/ftp directory.

right now they go to:

telnet  >>   /home/xxxuser          this is fine   no changes needed

ftp anon  >>  /var/ftp                 fine  no changes

ftp username    > /home/xxxuser     need to change to
/usr/local/www/data/xxxuser

the problem is if they upload webpages to /foo.bar.com/username it dont
get displayed cause its in the wrong directory.
they have to specifically upload to
/foo.bar.com/usr/local/www/data/username for it to go to the right
directory.




how do i fix this, its gotta be simple....






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34C9C9F6.FCC2603>