| Author |
Getting vsftpd local users to work
|
|
| StewartW 2005-02-05, 5:45 pm |
| I have vsftpd running.
the vsftpd.conf is:
anonymous_enable=NO
local_enable=YES
dirmessage_enable=YES
connect_from_port_20=YES
xferlog_enable=YES
xferlog_file=/var/log/vsftpd/vsftpd.log
nopriv_user=nobody
chroot_list_enable=YES
chroot_local_user=YES
background=YES
listen=YES
I have setup a group and user. That user can login on the system ok (ie not
via FTP but at the system login prompt) and see his his directory of
/home/XXX (RWX rights)
If I ftp to the system the same login fails with error 530.
There is a user nobody setup.
What other info is needed to advise on this??
Thanks
Stewart
| |
| StewartW 2005-02-06, 5:45 pm |
| I have looked at this some more today.
I can get anonymous download to login and download OK.
If I try to upload then it complains about running with a writeable
anonymous root.
Local users still can't login.
I have afeeling this is the key: What directory rights should be set on
which directories. How do I check if its set right?
Thanks
Stewart
"StewartW" <Spam@stewartwebb.com> wrote in message
news:420548ed$0$4092$db0fefd9@news.zen.co.uk...
> I have vsftpd running.
>
> the vsftpd.conf is:
> anonymous_enable=NO
> local_enable=YES
> dirmessage_enable=YES
> connect_from_port_20=YES
> xferlog_enable=YES
> xferlog_file=/var/log/vsftpd/vsftpd.log
> nopriv_user=nobody
> chroot_list_enable=YES
> chroot_local_user=YES
> background=YES
> listen=YES
>
> I have setup a group and user. That user can login on the system ok (ie
not
> via FTP but at the system login prompt) and see his his directory of
> /home/XXX (RWX rights)
>
> If I ftp to the system the same login fails with error 530.
>
> There is a user nobody setup.
>
> What other info is needed to advise on this??
>
> Thanks
>
> Stewart
>
>
| |
| hcblue 2005-05-21, 1:47 pm |
| quote: Originally posted by StewartW
I have looked at this some more today.
I can get anonymous download to login and download OK.
If I try to upload then it complains about running with a writeable
anonymous root.
Local users still can't login.
I have afeeling this is the key: What directory rights should be set on
which directories. How do I check if its set right?
Thanks
Stewart
I had the exact same problem on my Fedora Core 2 machine. It looked like the issue was caused by vsftpd's PAM integration. The solution for me was to simply undefine VSF_BUILD_PAM in builddefs.h, and then run "make clean" and "make" again. |
|
|
|