Summary:ftp work under chroot

From: yhe (yhe@shadow.nts.jhmi.edu)
Date: Fri Jul 07 2000 - 09:01:31 CDT


Hi, Dear Sun Manager:

Thanks for all replays( I got more than 15 replays, could not list all of them). I
would especially thanks whoever suggested using proftpd, that works for my case.
I had a little problems at begining when I configued proftpd with "DefaultRoot",
I would like to share with you.

In my passwd file I have entry:
t1:x:105:20:training1:/chroot/./export/users/t/a-m/t1:/bin/chrsh

If I defined "DefaultRoot /chroot/export"

user t1 default login dirs became /chroot/export instead of
/export/users/t/a-m/t1.

if I do not define DefaultRoot, then use could go really system root /

If I defined "DefaultRoot ~" which was what I expected, but I have a links under
user's home directory which out of chrooted.

DefaultRoot does not across "/./"

So finally I have to defined "DefaultRoot /chroot" which is ok with us.

Thansk again for all responses.

BY the way, The solution has nothing to do with anonymous ftp. wu-ftp wokrs find
with anonymous chrooted. I am mentioning this since some responses misunderstood my
questions.

------------- Begin Forwarded Message -------------

Delivered-To: sun-managers-tiaowodt@sunmanagers.ececs.uc.edu
Delivered-To: sun-managers@sunmanagers.ececs.uc.edu
Date: Fri, 30 Jun 2000 14:33:10 -0400 (EDT)
From: yhe <yhe@shadow.nts.jhmi.edu>
Subject: ftp work under chroot
To: sun-managers@sunmanagers.ececs.uc.edu
MIME-Version: 1.0
Content-MD5: Szmaabbl/fTkJgN3VnxOyw==

Dear Sun managers:

does any one has experiences of setting up ftp under chroot?

How you can make ftp read $CHROOT/etc/passwd instead of reading /etc/passwd?
Change the source code? ot other ways?

Thanks in advanced.
------------------------------------------------------------------------------
Xueying "Ying" He voice (410) 516-3361
Sr. System Engineer Unix
Network Security & Enterprise Services Administrator yhe@jhmi.edu
The Johns Hopkins Medical Institutions

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T

------------- End Forwarded Message -------------

------------------------------------------------------------------------------
Xueying "Ying" He voice (410) 516-3361
Sr. System Engineer Unix
Network Security & Enterprise Services Administrator yhe@jhmi.edu
The Johns Hopkins Medical Institutions

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:11 CDT