View previous topic :: View next topic |
Author |
Message |
fourhead l33t


Joined: 03 Sep 2003 Posts: 875 Location: Cologne, Germany
|
Posted: Thu Nov 18, 2004 3:50 am Post subject: proftpd croot not working |
|
|
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 |
|
 |
m.b.j. Guru

Joined: 12 Sep 2003 Posts: 407 Location: Germany (Essen)
|
Posted: Thu Nov 18, 2004 10:26 pm Post subject: |
|
|
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 |
|
 |
fourhead l33t


Joined: 03 Sep 2003 Posts: 875 Location: Cologne, Germany
|
Posted: Thu Nov 18, 2004 10:34 pm Post subject: |
|
|
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 |
|
 |
|