LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 12-04-2005, 04:54 AM   #1
greengrocer
Member
 
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!

Regards,
greenie
 
Old 12-04-2005, 09:06 AM   #2
eddiebaby1023
Member
 
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
badgerbox76
Member
 
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
amitsharma_26
Member
 
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.

..amit..
 
Old 12-08-2005, 05:41 AM   #5
greengrocer
Member
 
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

Regards,
Greenie
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 12:08 AM.

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