Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
proftpd croot not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Thu Nov 18, 2004 3:50 am    Post subject: proftpd croot not working Reply with quote

OK I've set up several virtual hosts with ProFTPD, I can login as I wish. The only problem, although I have a directive

DefaultRoot ~

(also tried DefaultRoot ~/ftp)

and when I log in I'm within my home dir, but I'm not chrooted into it. I can see that I'm in a subdir and I can browse to / and all other dirs. I did read several docs I've found for ProFTPD, and they all say that DefaultRoot ~should put you i a chroot jail. Any suggestions?

Tom
Back to top
View user's profile Send private message
m.b.j.
Guru
Guru


Joined: 12 Sep 2003
Posts: 407
Location: Germany (Essen)

PostPosted: Thu Nov 18, 2004 10:26 pm    Post subject: Reply with quote

do you login as root?

Where you have placed the DefaultRoot directive, check if this directive is in your VirtualHostSettings, too. I do not knew if this is nessusary, try and fail could sovle your problem!
_________________
root@mbj # echo "sys-pizza/calzone -tunfish" >> /etc/paludis/use.conf
root@mbj # paludis -i calzone --dl-blocks discard
Back to top
View user's profile Send private message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Thu Nov 18, 2004 10:34 pm    Post subject: Reply with quote

Hello,

thanks for your answer. Well, it didn't work out, and I was switching to VsFTPd now. I need the FTP mainly to upload all my websites, but since FTP is pretty insecure I'm thinking about switching to WebDAV or something like that for that purpose and I'll keep VsFTPd for a few public FTP hosts I need.

Tom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum