View previous topic :: View next topic |
Author |
Message |
EASYdoor Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_doom.gif)
Joined: 21 Aug 2004 Posts: 79 Location: Novo mesto
|
Posted: Mon Sep 27, 2004 10:42 pm Post subject: strange ftp behaviour |
|
|
so i've finally configured my proftpd server that the users are strctly in their homefolders...
that work's if i use the ftp localhost, or ftp with explorer, but when i start a ftp client for example total commander,...the user can simply go up and browse my system...
how could i fix this?!? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
swegener Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry.gif)
Joined: 19 Jun 2004 Posts: 8 Location: Karlsruhe, Germany
|
Posted: Mon Sep 27, 2004 10:50 pm Post subject: |
|
|
What options are in your proftpd.conf?
According to the docs "DefaultRoot ~" should do it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
EASYdoor Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_doom.gif)
Joined: 21 Aug 2004 Posts: 79 Location: Novo mesto
|
Posted: Tue Sep 28, 2004 6:10 am Post subject: |
|
|
here are is my proftpd.conf:
Code: |
ServerName "sth"
ServerType standalone
DefaultServer on
ServerIdent on "sth"
AuthPAM off
Port 21
Umask 022
MaxInstances 30
# Set the user and group under which the server will run.
User nobody
Group nogroup
DefaultRoot ~
TransferLog /var/log/proftpd_promet
DenyFilter \*.*/
<Directory />
AllowOverwrite on
</Directory>
<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10 "Dovoljenih je samo 10 povezav na enkrat" #tole sm dodal
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
<Anonymous ~ftp_priv>
User ftp_priv
Group ftp
AnonRequirePassword on
UserAlias private ftp_priv
UserAlias upload ftp_priv
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit WRITE>
Deny from all
</Limit>
<Directory incoming>
<Limit READ WRITE DIRS STOR CWD CDUP>
AllowAll
</Limit>
</Directory>
</Anonymous>
<Global>
RootLogin on
</Global>
ServerAdmin EASYdoor@siol.net
<VirtualHost 193.77.149.161>
AccessGrantMsg "sth"
</VirtualHost> |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
EASYdoor Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_doom.gif)
Joined: 21 Aug 2004 Posts: 79 Location: Novo mesto
|
Posted: Tue Sep 28, 2004 4:39 pm Post subject: |
|
|
Hellooo???
Anyone that could help??? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
swegener Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry.gif)
Joined: 19 Jun 2004 Posts: 8 Location: Karlsruhe, Germany
|
Posted: Tue Sep 28, 2004 5:05 pm Post subject: |
|
|
When using a VirtualHost configuration, the DefaultRoot directive has to be moved to the Global context (to be effective for all VirtualHosts) or to the VirtualHost context (to be active only for that VirtualHost). Putting it into the server config context only activates it for everything that's not in a VirtualHost context. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
EASYdoor Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_doom.gif)
Joined: 21 Aug 2004 Posts: 79 Location: Novo mesto
|
Posted: Tue Sep 28, 2004 6:17 pm Post subject: |
|
|
swegener thanx a lot,...that really worked |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|