How to create a user for ftp server?
43,999
edit /etc/vsftpd.conf
and remove #
from local_enable=YES
,
write_enable=YES
and chroot_list_enable=YES
.
now enter this to terminal sudo touch /etc/vsftp.chroot_list
and finally edit /etc/vsftp.chroot_list
and add one user per line.
Related videos on Youtube
Author by
Andrew Colin
Updated on September 18, 2022Comments
-
Andrew Colin over 1 year
I'm using
vsftpd
. I need anftp
server for my web server, I can login under my account of course, but I can't do the main thing it's meant for and add/edit/remove files in my var/www directory.Could someone walk me through the process in creating a new user for just ftp, and allow it to edit anything in that folder? Or is there an easier way to edit that with another account?
-
Andrew Colin over 11 yearsOh sorry, it's VSFTPD
-
-
Andrew Colin over 11 yearsAnd that will give me access to that folder?
-
Andrew Colin over 11 yearsYa that didn't solve my problem, I can't access edit/create/or download files in var/www. That's why i asked this question :|
-
zuberuber over 11 yearsUser must have permission to read/write/execute in /var/www to do such a things. I suggest reading
man chmod
andman chown
-
Chanaka udaya over 10 yearsHow can I specify the password in this file. Is it username:password pattern or username=password pattern. Please specify.
-
jerinho.com about 5 yearshave you example how to edit /etc/vsftp.chroot_list. username + password