LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   RH9 and vsftpd (https://www.linuxquestions.org/questions/linux-networking-3/rh9-and-vsftpd-266516/)

snapperhead 12-14-2004 10:57 PM

RH9 and vsftpd
 
VSFTP is driving me crazy !!
All I can do is get it to work for anonymous...not user logins.

All I am trying to accomplish is FTP with a user login so that I can upload html web pages....

I have gone through the site(s) and tried everything I could find.
If someone would be so kind as to do a little hand holding...pretty please
I can post conf files etc.


Thanks in Advance

twantrd 12-14-2004 11:00 PM

Do you have this enabled?

# Uncomment this to allow local users to log in.
local_enable=YES

I would recommend turning off anonymous but then that's up to you :)

-twantrd

snapperhead 12-14-2004 11:09 PM

config is as follows:

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
chroot_list_enable=YES

pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
#enable for standalone mode
listen=YES
tcp_wrappers=YES

twantrd 12-15-2004 11:31 AM

Since you enabled chroot, did you put the usernames in the chroot file?

-twantrd

snapperhead 12-15-2004 06:26 PM

chroot file
 
I have changed the vsftpd.ftpusers and vsftpd.user_list files.
the vsftpd.ftpusers file includes
# Users that are not allowed to login via ftp
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody

and the vsftp.use_list includes
# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd.ftpusers
# for users that are denied.
#root
#bin
#daemon
#adm
#lp
#sync
#shutdown
#halt
#mail
#news
#uucp
#operator
#games
#nobody
pcanters
ftpuser
(have tried both REM'ed and unREM'ed for all of the users)

Is this what you are refering to when you say "Since you enabled chroot, did you put the usernames in the chroot file? "


Thanks for the feedback

:newbie:

twantrd 12-15-2004 07:18 PM

My vsftpd.conf looks like this:

#chroot_local_user=YES
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd.chroot_list

'vsftpd.chroot_list' is the file that I put all the usernames in to chroot() them. I don't see any reference for 'vsftpd.ftpusers' and 'vsftpd.user_list' in my config but then again I compiled mine from source and yours came with RH9. Try putting the usernames in the chroot list and see how that goes...

-twantrd


All times are GMT -5. The time now is 12:05 PM.