LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vsftpd and users (https://www.linuxquestions.org/questions/linux-newbie-8/vsftpd-and-users-937916/)

wulfsburg 04-03-2012 11:00 AM

vsftpd and users
 
All,

I need some help getting my local users to be able to log in. Somehow I managed to get one of the users to work, but not the other.

/etc/passwd shows the following for the users:

tnielsen:x:1000:1000:Trent Nielsen,,,:/home/tnielsen:/bin/bash
ftp:x:106:117:ftp daemon,,,:/srv/ftp:/bin/false
anielsen:x:1002:117:Adam Nielsen:/srv/ftp:/bin/sh
wrussell:x:1003:117:William Russell:/srv/ftp:/bin/sh


I am tnielsen. anielsen can log in no problem. wrussell, cannot however. I keep getting a login failed. I have tried to reset the password just in case, but it doesnt seem to want to work.

Here is the output from my group file:

tnielsen:x:1000:
lpadmin:x:115:
admin:x:116:
ftp:x:117:anielsen,tnielsen,wrussell

Please bear with me, as I am new to Linux, but cannot seem to find out why it is not working.

I am using vsftpd, and I have ensured that local users are able to login through the command config within the vsftpd.conf file.

Based upon my group output, it is logical to say, that in the group "ftp", all 3 users are part of that, and by logic it should allow me to connect?

Thank you for your help in advance.

Oh, and I am using Ubuntu server 10.4 LTS

T3RM1NVT0R 04-03-2012 05:01 PM

@ Reply
 
Hi wulfsburg,

Welcome to LQ!!!

You do not need to add the users to FTP group to enable them to access FTP. If in your vsftpd.conf file you have setup local_enable=yes then that should be it.

Another thing that I have noticed is that you have setup /srv/ftp as home directory for anielsen and wrussell. Is there a particular reason for that?

What is the exact error message that you get? Do you get Error 530 login failed?

Have a look at the following link and see if that helps: http://ubuntuforums.org/showthread.php?t=518293

If not, then paste your vsftpd.conf file in this thread.


All times are GMT -5. The time now is 05:44 AM.