Poster vores email snak for eventuelle lyttere ;)
simon ->
Hey
Jeg kan ikke sige noget med sikkerhed uden root men vsftpd ser ud til
at være instaleret som en service.
Og konfigurations filen ligger som /etc/vsftpd/vsftpd.conf Prøv og
skriv:
service vsftpd start
Som root.
sollie ->
Hej.
Dette er hvad der sker.
[root~]# service vsftpd start
Starting vsftpd for vsftpd: [ OK ]
[root@~]#
Den lader til at virke fint nu, men ved du hvordan jeg slår funktionen fra hvor de kan gå en mappe tilbage og hele vejen ud til roden?
sollie
Simon ->
I konfigurationsfilen skal der enten stå
chroot_list_enable=YES
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
Eller
chroot_local_user=YES
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
Du kan finde mere i
http://vsftpd.beasts.org/vsftpd_conf.htmlJeg kan ikke se indholdet af /etc/vsftpd.conf uden root så jeg kan ikke lige sige hvordan det er sat op nu.