PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : VsFTP und chrooten?!



Baertronics
31.01.05, 10:15
Hallo zusammen,
ich betreibe einen redhat es 3.0. auf diesem ist vsftpd installiert und läuft.. habe mir nun verschiedene User angelegt die per ftp auf den server connecten können. möchte aber das sie nicht in der file-hirarchie nach oben können. zu diesem zweck habe ich die datei vsftp.chroot_list angepasst mit den user die nicht wechseln dürfe..
nach einem reboot der maschine können sie aber immer noch..
habe ich was vergessen oder falsch gemacht?

meine vsftp.chroot_list:
ftpuser1
ftpuser2
ftpuser3

Tomek
31.01.05, 10:19
Mit der Suchfunktion hättest du mehrere Antworten zu deinem Problem gefunden... Aber nuja.. :ugly:

Auch die Manual Page zu vsftpd kann dir weiterhelfen:

man vsftpd.conf
Dann findest du Einträge, wie diese hier:

chroot_list_enable
If activated, you may provide a list of local users who are placed in a chroot() jail in their home directory upon login. The meaning is slightly different if chroot_local_user is set to YES. In this case, the list becomes a list of users which are NOT to be placed in a chroot() jail. By default, the file containing this list is /etc/vsftpd.chroot_list, but you may override this with the chroot_list_file setting.

Default: NO

chroot_local_user
If set to YES, local users will be (by default) placed in a chroot() jail in their home directory after login. Warning: This option has security implications, especially if the users have upload permission, or shell access. Only enable if you know what you are doing. Note that these security implications are not vsftpd specific. They apply to all FTP daemons which offer to put local users in chroot() jails.

Default: NO

Baertronics
31.01.05, 10:29
Super besten Dank,

habe auch kurz gesucht, jedoch auf die schnelle nichts gefunden..