Froster
08.11.04, 13:49
Hallo,
ich habe wie viele hier ähnlich auch das Problem den User in sein chroot zu sperren jedoch habe ich schon :
DefaultRoot ~
und
<Global>
DefaultRoot ~
</Global>
probiert aber wirklich nichts bringt mich zu erfolg. Die anderen Dinge scheinen soweit zu funktionieren.
Mein System ist wie folgt:
- Debian (wood glaubsch)
- Proftpd 1.2.9
2 user sollen ftp machen
ftp2:ftp2 home: /home/ftp shell: /bash/false
mfsu:ftp2 home: /home/ftp shell: /bash/false
/home/ftp (751 und ftp2:ftp2)
mein Config :
ServerName "Debian"
ServerType standalone
DeferWelcome off
#MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
#AllowOverwrite on
RequireValidShell off
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
<Global>
DefaultRoot ~
</Global>
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
Port 21
MaxInstances 30
User ftp2
Group ftp2
<Directory /home/ftp/>
<Limit ALL>
DenyAll
</Limit>
<Limit STOR READ DIRS LIST>
AllowUser ftp2
</Limit>
<Limit DIRS READ LIST>
AllowUser mfsu
</Limit>
solangsam raubt mir das echt den nerf :confused:
ich habe wie viele hier ähnlich auch das Problem den User in sein chroot zu sperren jedoch habe ich schon :
DefaultRoot ~
und
<Global>
DefaultRoot ~
</Global>
probiert aber wirklich nichts bringt mich zu erfolg. Die anderen Dinge scheinen soweit zu funktionieren.
Mein System ist wie folgt:
- Debian (wood glaubsch)
- Proftpd 1.2.9
2 user sollen ftp machen
ftp2:ftp2 home: /home/ftp shell: /bash/false
mfsu:ftp2 home: /home/ftp shell: /bash/false
/home/ftp (751 und ftp2:ftp2)
mein Config :
ServerName "Debian"
ServerType standalone
DeferWelcome off
#MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
#AllowOverwrite on
RequireValidShell off
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
<Global>
DefaultRoot ~
</Global>
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
Port 21
MaxInstances 30
User ftp2
Group ftp2
<Directory /home/ftp/>
<Limit ALL>
DenyAll
</Limit>
<Limit STOR READ DIRS LIST>
AllowUser ftp2
</Limit>
<Limit DIRS READ LIST>
AllowUser mfsu
</Limit>
solangsam raubt mir das echt den nerf :confused: