LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-14-2004, 10:57 PM   #1
snapperhead
LQ Newbie
 
Registered: Dec 2004
Posts: 14

Rep: Reputation: 0
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
 
Old 12-14-2004, 11:00 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
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
 
Old 12-14-2004, 11:09 PM   #3
snapperhead
LQ Newbie
 
Registered: Dec 2004
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 12-15-2004, 11:31 AM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Since you enabled chroot, did you put the usernames in the chroot file?

-twantrd
 
Old 12-15-2004, 06:26 PM   #5
snapperhead
LQ Newbie
 
Registered: Dec 2004
Posts: 14

Original Poster
Rep: Reputation: 0
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

 
Old 12-15-2004, 07:18 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
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
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd settingd and VSFTPD DEAD BUT SUBSYS LOCKED pc_copat Linux - Newbie 15 11-05-2009 10:31 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
vsftpd setup on RH9 with virtual users mr_r Linux - Networking 7 12-15-2003 11:57 AM
unable to upload files with RH9 & Vsftpd ToBe Linux - Networking 1 10-27-2003 04:41 PM
client can't copy files to local machine through vsftpd server on RH9 tree_buddy Linux - Networking 7 09-15-2003 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:34 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration