LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-19-2008, 02:59 PM   #1
jhaxxar
LQ Newbie
 
Registered: Sep 2008
Posts: 11

Rep: Reputation: 0
RHEL4 vsftpd problem


I have vsftpd running on my RHEL4 system. The problem is when I do a FTP session from WinXP, it does not ask for a username/password.

I have used system-conf-users to add the two users/passwords that are to be used. I also need to only allow each of the two users to have their own ftp folder. So what are the steps to this? I am still a newby to linux but starting to understand linuxese. LOL
 
Old 09-19-2008, 03:17 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
You might have anonymous enabled. Check your /etc/vsftpd.conf configuration for additional settings you have in place.
 
Old 09-19-2008, 03:38 PM   #3
jhaxxar
LQ Newbie
 
Registered: Sep 2008
Posts: 11

Original Poster
Rep: Reputation: 0
anonymous_enabled=NO.

Guess I should clarify....when I do a ftp session on the linux box it does ask for a username/password. On my WinXP system when I do a ftp://10.150.xxx.xxx, I get a ftp session but no prompt for username/password. it puts me in the PUB folder.
 
Old 09-19-2008, 04:13 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Quote:
Originally Posted by jhaxxar View Post
anonymous_enabled=NO.

Guess I should clarify....when I do a ftp session on the linux box it does ask for a username/password. On my WinXP system when I do a ftp://10.150.xxx.xxx, I get a ftp session but no prompt for username/password. it puts me in the PUB folder.
Somehow that sounds like you still have anonymous ftp enabled. Can you post your full vsftpd.conf file?
 
Old 09-22-2008, 09:55 AM   #5
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Quote:
On my WinXP system when I do a ftp://10.150.xxx.xxx
Where are you doing the FTP on your XP system? In Internet Explorer? Another browser?

To allow only the 2 specific users, you can use the vsftpd.allow and/or vsftpd.deny files. Easiest is to put only
the 2 usernames into vsftpd.allow. You may need to check your vsftpd config to see if the .allow and .deny files are used
and correctly set up.

You may also want to use virtual users rather than real local ones. The chroot option to lock both users into a given directory (ie their home directory) can be useful in this case too.
If both users need specific settings, use the per-user-config option.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL4 sound problem arnuld Red Hat 3 10-13-2008 06:40 AM
problem withdhcp in rhel4 dianarani Linux - Server 7 08-03-2007 04:21 AM
vsftpd user login problems in RHEL4 dsids Linux - Security 11 07-31-2006 01:59 AM
RHEL4 up2date problem gireesha_ks Linux - Enterprise 2 06-15-2006 08:36 AM
RHEL4 problem with memory klith2003 Red Hat 2 02-18-2006 04:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:39 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