LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ftp error (http://www.linuxquestions.org/questions/linux-newbie-8/ftp-error-936587/)

kb2tfa 03-26-2012 09:40 PM

ftp error
 
i've tried vsftp and proftpd and i can't login as root.

i need to edit my website in /var/www/mydomain/html

i can login as a non root user

i tried chown -R user /var/www/mydomain/html and i still can't edit and save.

any ideas

vp0619520 03-26-2012 10:19 PM

Hi,I think you need to modify the configuration file of vsftp.Maybe the root user is prohibit to be used to login.

divyashree 03-26-2012 10:31 PM

Quote:

Originally Posted by kb2tfa (Post 4637172)
i've tried vsftp and proftpd and i can't login as root.

i need to edit my website in /var/www/mydomain/html

i can login as a non root user

i tried chown -R user /var/www/mydomain/html and i still can't edit and save.

any ideas

If you have tried with vsftpd, check the file:

/etc/vsftpd/ftpusers - which contains the userlist those are not allowed to login via ftp.

Here the root user is by default listed and you have to remove root to be able to access via ftp as as root.

Also check the content of /etc/vsftpd/user_list and your vsftpd.conf (configuration file) whether to allow or denly list of users in the file.


All times are GMT -5. The time now is 04:22 PM.