Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-04-2005, 04:54 AM   #1
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
vsftpd - only one user can login to ftp

Hi everyone,

I have really strange login issue with vsftpd. Only one of my four users can get ftp access, the rest of the users are denied, including root user, root user is denied access to ftp.

I have edited the vsftpd.conf so that there is no anonymous login allowed.

I also set it so that it would allow local users to get access to ftp.

Thats all I have changed.

vsftpd has created /home/ftp automatically.

I havent changed any user accounts and group relationships around in any way, and thats why I find it strange.

Why would it be that one of the users can login to ftp and not the others?

I'm curious about this!

Old 12-04-2005, 09:06 AM   #2
Registered: May 2005
Posts: 378

Rep: Reputation: 33
Weird. Have you uncommented the "local_enable=YES" line?
Old 12-04-2005, 09:02 PM   #3
Registered: Dec 2005
Location: USA
Distribution: Ubuntu, and other Live-CDs
Posts: 156

Rep: Reputation: 30
Vsftpd is just a plain pain to work with i would start looking for another ftp server, but thats just me
Old 12-05-2005, 07:43 AM   #4
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
edit /etc/vsftpd.ftpusers & /etc/vsftpd.user_list & uncomment root to grant root to access ftp.

Old 12-08-2005, 05:41 AM   #5
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Original Poster
Rep: Reputation: 37
Thanks for all the suggestions, I worked out what was wrong, there were several problems, one of them quite embarrassing ** other newbies take note **

1) I was using the wrong password for one of the users.

2) I created a user specifically to give out to people I knew for th e purposes of granting access to my ftp server. This user belonged to the same group as the ftp daemon, and that group was blocked from access. I created a new group for this user and it worked.

I was also careful to set things up so that the special user name for ftp access did not belong to any other group (hopefully this will mean that no damage can be done by this user) if anyone has comments about the security aspect of this (ie I am I assuming correctly), your comments are welcomed.

I also discovered that pam is involved somehow in the access permissions invloved (does this sound right)? I have a file called ftpusers in /etc which has a list of disallowed users and groups. This file is referred to in /etc/pam.d/vsftpd



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
create ftp user for vsftpd server without home directory cccc Linux - Networking 2 07-30-2005 06:32 AM
vsftpd 2.0.3 ftp authentication failing for local user scooger Linux - Software 1 05-17-2005 10:48 AM
VSFTPD virtual user login using pam.d problem exalik Linux - Networking 3 11-07-2003 04:29 PM
vsftpd to authenticate ftp user thethakuri Linux - Networking 4 01-31-2003 03:49 AM
vsftpd : process running as user nobody left after login ? markus1982 Linux - Security 4 01-18-2003 02:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration