Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vsftpd and /etc/ftpusers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
georgz
Tux's lil' helper
Tux's lil' helper


Joined: 06 Dec 2002
Posts: 137
Location: Munich, Germany

PostPosted: Mon Jan 20, 2003 9:12 am    Post subject: vsftpd and /etc/ftpusers Reply with quote

For me it seems that vsftpd is ignoring /etc/ftpusers (although this file comes with the vsftpd ebuild). Is there a config option for that?
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Thu Apr 20, 2006 3:26 am    Post subject: Reply with quote

I hate to suck this post back up.. but I'm running into the same problem now. /etc/vsftpd/ftpusers file is completely being ignored. Looking at the /etc/pam.d/vsftpd file it looks good.

My /etc/pam.d/vsftpd file
Code:
#%PAM-1.0
# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/files/vsftpd.pam,v 1.3 2002/10/19 06:45:57 woodchip Exp $
auth     required   /lib/security/pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed
auth     required   /lib/security/pam_stack.so service=system-auth
auth     required   /lib/security/pam_shells.so
account  required   /lib/security/pam_stack.so service=system-auth
session  required   /lib/security/pam_stack.so service=system-auth


Here is my /etc/vsftpd/vsftpd.conf
Code:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd/vsftpd.log
log_ftp_protocol=YES
idle_session_timeout=600
data_connection_timeout=120
nopriv_user=nopriv
ftpd_banner='MyBanner'
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/vsftpd.chroot
pasv_min_port=xxxxx
pasv_max_port=xxxxx
background=YES
listen=YES


I do have /etc/vsftpd/ftpusers file
Code:
691 Apr 19 21:20 ftpusers


I added a system user.. added a password and was able to log in fine using FTP. That person was added to ftpusers. vsftpd has been restarted with every change to the ftpusers file.

Here is my version of vsftpd
Code:
 net-ftp/vsftpd-2.0.3-r1


Any ideas?

Thanks!
hanji
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum