From owner-freebsd-questions Sat Jan 24 03:01:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA29054 for questions-outgoing; Sat, 24 Jan 1998 03:01:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mutsgo.dyn.ml.org (root@dal10-30.ppp.iadfw.net [206.66.4.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA29048 for ; Sat, 24 Jan 1998 03:01:16 -0800 (PST) (envelope-from kf7nn@mutsgo.dyn.ml.org) Received: from mutsgo.dyn.ml.org (kf7nn@localhost.iadfw.net [127.0.0.1]) by mutsgo.dyn.ml.org (8.8.7/8.8.7) with ESMTP id FAA06871 for ; Sat, 24 Jan 1998 05:01:13 -0600 (CST) (envelope-from kf7nn@mutsgo.dyn.ml.org) Message-ID: <34C9C9F6.FCC2603@mutsgo.dyn.ml.org> Date: Sat, 24 Jan 1998 11:01:10 +0000 From: laszlo vagner X-Mailer: Mozilla 4.03 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: ftp directories vs telnet Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk 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....