I am using Debain v3.1 (Sarge) linux and i recently installed vsftp using:
# apt-get install vsftpd
The version of vsftpd running on my linux box is 2.0.3-1. My present vsftp.conf looks like following:
# Standalone mode
# Access Rights
With the above settings i am able to log in using any of my linux user's id for whom the home directory is located under /home/<UID> but for the root account it doesn't work and i always get following error message.
Status: Connecting to 192.168.0.2 ...
Status: Connected with 192.168.0.2. Waiting for welcome message...
Response: 220 Welcome
Command: USER root
Response: 331 Please specify the password.
Command: PASS ******
Response: 530 Login incorrect.
Error: Unable to connect!
On this linux box i also have a apache webserver running and i want to use a particular user account which gives read/write access /var/www/*. This folder has got all my webpages and i want it shared so that i could remotely code the scripts. Beside this i also want to have a user account with which i can browse the complete directory structure in Linux, so if required i can upload/download some files. So, is it possible to configure vsftpd such way and behave according to the user logging in? If yes then how can i achieve this?
Thanks in advance.