LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2007, 01:39 PM   #1
schiu
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Rep: Reputation: 0
vsFTPd - Anonymous Only...


I am a newbie and running RH 7.1

I installed vsFTPd and am following a guideline to setup a FTP server (vsftpdrocks.org/source/)

I did everything up to the beginning of Step 4 (except the part for anonymous FTP)
Quote:
If you plan to have an anonymous FTP server:
mkdir /var/ftp
useradd -d /var/ftp ftp
If a user "ftp" already exists, you may want to do the following:
chown root.root /var/ftp
chmod og-w /var/ftp
Now, I am trying to "ftp localhost".
I got it up to the user name part.
I typed in my account user name, but it prompted me with "530 This FTP server is anonymous only"

My svftpd.conf
Quote:
local_enable=YES
write_enable=YES
local_umask=022
nopriv_user=nobody
anonymous_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
ls_recurse_enable=NO
listen=YES
Can anyone help? Thanks.
 
Old 07-09-2007, 01:53 PM   #2
Kaamos
Member
 
Registered: Jun 2007
Location: Chile
Distribution: Some ubuntu mixes, Suse, FC
Posts: 36

Rep: Reputation: 15
Mmmm ... After the final configuration ... did you restart the service?
 
Old 07-09-2007, 02:04 PM   #3
schiu
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Kaamos
Mmmm ... After the final configuration ... did you restart the service?
After I restarted the computer, it did not prompted anonymous only this time... I can enter my user name and password. However, even though the local user name and password are correct, it said "530 login incorrect", "Login failed".

Last edited by schiu; 07-09-2007 at 02:11 PM.
 
Old 07-10-2007, 10:27 AM   #4
Kaamos
Member
 
Registered: Jun 2007
Location: Chile
Distribution: Some ubuntu mixes, Suse, FC
Posts: 36

Rep: Reputation: 15
Quote:
Originally Posted by schiu
After I restarted the computer, it did not prompted anonymous only this time... I can enter my user name and password. However, even though the local user name and password are correct, it said "530 login incorrect", "Login failed".
no, i didn't say anything about rebooting your computer. I'm talking of the service "vsftpd".
When you make some changes in the config file, you have to restart (o start) the service.
 
Old 07-10-2007, 08:14 PM   #5
schiu
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Kaamos
no, i didn't say anything about rebooting your computer. I'm talking of the service "vsftpd".
When you make some changes in the config file, you have to restart (o start) the service.
I ain't sure how to restart the service...
Someone said by using
Code:
/etc/init.d/vsftpd start
, however, there is no such directory for me.
 
Old 07-10-2007, 09:29 PM   #6
Kaamos
Member
 
Registered: Jun 2007
Location: Chile
Distribution: Some ubuntu mixes, Suse, FC
Posts: 36

Rep: Reputation: 15
yup man ... That's correct.
Or taking advantage that we're talking about Fc ...
service vsftpd restart
 
Old 07-11-2007, 05:40 AM   #7
cwygl
LQ Newbie
 
Registered: Jul 2007
Location: beijing
Posts: 7

Rep: Reputation: 0
help

hi, how are you

1, My ftp can not work, on the client side I got the following
Z:\>ftp 10.56.0.166
Connected to 10.56.0.166.
500 OOPS: vsftpd: cannot locate user specified in 'chown_username':whoever
Connection closed by remote host.

then later it is "> ftp: connect :Unknown error number"

I check the vsftpd.conf, add ftp_username item, nothing changed. Also I check the service from the Desktop -> Management -> Service, ftp service is on, but netstat -a | grep ftp showed nothing, I tried to manually start vsftpd but failed

The following is on the debian console.
deb-bj:/etc/init.d# vsftpd start
500 OOPS: vsftpd: cannot open config file:start
deb-bj:/etc/init.d# vsftpd restart
500 OOPS: vsftpd: cannot open config file:restart


2, I know under redhat I can use "mount //10.56.0.158/share /mnt -o username= password= " to share a directory between windows OS and linux OS, but under debian the following information appeared

deb-bj:/etc/init.d# mount //10.56,0.158/share /mnt
mount: wrong fs type, bad option, bad superblock on //10.56,0.158/share,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

deb-bj:/etc/init.d#


what can I do


thanks a lot

best
 
Old 07-11-2007, 08:10 AM   #8
Kaamos
Member
 
Registered: Jun 2007
Location: Chile
Distribution: Some ubuntu mixes, Suse, FC
Posts: 36

Rep: Reputation: 15
Hmm ... about that .. You should check out again your config file, cuz' your pc is not enabling the port 21.
The other thing ... I would like to help you, but i don't know how thing work in Debian (in fact, i pretend to learn about it in the next summer)
Your post would be best answered if someone move it to the Debian forum
 
Old 07-11-2007, 09:02 AM   #9
schiu
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Kaamos
yup man ... That's correct.
Or taking advantage that we're talking about Fc ...
service vsftpd restart
It is correct?? But it said no such directory and did not work... So what should I do...

I am running out of ideas now...
 
Old 07-13-2007, 08:43 AM   #10
Kaamos
Member
 
Registered: Jun 2007
Location: Chile
Distribution: Some ubuntu mixes, Suse, FC
Posts: 36

Rep: Reputation: 15
you sure? .... That directory should be into /etc ...
You sure decompress the tar.gz archive and make the install?
 
  


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 anonymous login r.stiltskin Linux - Networking 4 03-16-2007 11:19 PM
vsftpd anonymous overwrite lapthorn Linux - Security 3 10-11-2006 11:20 AM
VSFTPD Does not Allow Anonymous Downloads Nervo Linux - Networking 1 08-03-2003 07:13 AM
vsftpd anonymous uploads BigP Linux - Networking 3 03-07-2003 11:03 AM
Anonymous upload with vsftpd 1.1.0 Jesus0190 Linux - Software 0 01-04-2003 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:52 AM.

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