create directories : /var/share/empty
Kod:
mkdir /var/share/empty
in /etc/vsftpd.conf, add this line at the end of the file :
secure_chroot_dir=/var/share/empty
Kod:
echo 'secure_chroot_dir=/var/share/empty' >> /etc/vsftpd.conf
Du kan även använda en textredigerare som nano eller vi, men i just detta fall är det nog enklast att bara skjuta in raden med hjälp av echo >>
Ifall nano (min favoritredigerare, men många föredrar vi) inte finns installerat från början så kan du installera det med opkg install nano. Här finns en ganska bra och enkel nybörjarguide för nano också, om du inte redan har koll på det
Edit: Kanske måste tillägga att du ska skriva detta när du har telnetat till boxen