I'm using an Amazon EC2 istance as developer and testing machine. Since i'm on windows i can't mount the virtual EBS volume for editing purposes. Too bad.
For this reason i've installed and configured vsftpd server to allow me quickly edit and upload PHP files from Windows to
/var/www/html folder on the instance.
I've uncommented lines containing the word "root" in
/etc/vsftpd/user_list in order to allow root login with FileZilla.
/ect/vsftpd/vsftpd.conf contains (among other):
pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES pasv_enable=YES pasv_min_port=1024 pasv_max_port=1048 pasv_address=<public ip addess> local_root=/var/www/html
I know maybe login as a root can be a security issue but i'm not master in security stack on linux. Feel free to post any security tip to solve my problem. By the way, i'm getting this error:
500 OOPS: cannot change directory:/root
It seems that vsftpd try to change the ftp root to
/root (of course it doesn't exist), ignoring the