LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-22-2003, 04:21 PM   #1
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Rep: Reputation: 30
vsFTP problem


I set up vsftp and i can get it to the point where its enabled and i can ftp 127.0.0.1 , but thats as far as i can get.

The guide i used at siliconvalleyccie said to create a group called ftp-users using "groupadd ftp-users", but the command didnt exist on konsole.

So i created a group "/home/ftpusers" using the user and group manager.

I then created a user for that group and made the home directory /home/ftpusers

Then set the directory using chown and chmod 750, then copied a file over to the directory and chmod'd that to 740.

I then restarted xinetd.

I then for a test, ftp'd to 127.0.0.1 to check the server was functioning, and it is, but the username or password is not being accepted.

Is there a log file somewhere that i can query, to find out where it is failing, ie, at which point, user or pass.

If not, can anyone recommend an easier to use ftp program.

I looked at glftpd, but there seems to be two websites for it. Can anyone tell me which site is real.
 
Old 06-22-2003, 04:28 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Just create any old user and login with that. If it doesn't work then you have probably restricted logins to certain users - post your vsftpd.conf file so we can see.

I find that gftp is as good an ftp app as any.
 
Old 06-22-2003, 04:36 PM   #3
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Original Poster
Rep: Reputation: 30
# anonymous_enable=NO
local_enable=YES
# write_enable=YES
# anon_upload_enable=YES
# anon_mkdir_write_enable=YES
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
ftpd_banner=another ftp
 
Old 06-22-2003, 04:46 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I take it that it didn't work with a standard user account?
 
Old 06-22-2003, 05:13 PM   #5
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Original Poster
Rep: Reputation: 30
i tried it again with a newly created user account, same group and i get a 530 permission denied.

I just checked it by logging into a console and the password checks out ok, but i changed it anyway.

And i can now get as far as the enter password part of the ftp sign in process before it gives me the following error:

331 Please specify the password.
Password:
530 Login incorrect.
Login failed.

Although i have no problems logging in from a console.
 
Old 06-22-2003, 05:29 PM   #6
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Original Poster
Rep: Reputation: 30
Ive decided its going to be easier if i replace vsftp with a ftpd thats a little more user friendly.

Thx for your help
 
Old 06-22-2003, 05:31 PM   #7
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
i had that problem when i made a new account after my own oringinal one..the oringinal one i made worked, but i couldn't connect with my external ip only 127.0.0.1....as of groupadd and stuff like that, you have to specify the whole path...for example if i issue the command groupadd from prompt it says command not found, but when you do a whereis groupadd it shows (on my machine) that it is located in /usr/sbin/groupadd...so if you wanted to actually do that, just specify the full path..
 
Old 06-22-2003, 06:15 PM   #8
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Original Poster
Rep: Reputation: 30
thx, even after trying all of that, its still a no go.

Im going to abandon this and try and create an apache ftp over http style affair, plus i believe i can configure it to use https as well, which is more useful to me. But all i really wanted it for was to allow a friend to download a demo off me, since i have port probs with irc and such.
 
Old 06-22-2003, 06:28 PM   #9
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
yah i am in the same boat, thats why i wanted to setup an ftp and see if that works, cause i can't send through msn no matter what i try...but i can't get it going either..
 
Old 06-23-2003, 02:51 AM   #10
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Original Poster
Rep: Reputation: 30
If u want an easier solution, forget ftp and install apache web server instead, i did it this morning from source and it took about 1hr, but it now works and i downloaded a 1mb file via a proxy and it works a treat.

Be-aware tho the instructions are even nerdier than the vsftp ones.

but basics are:

from folder un untarred to:
./configure
./make
./make install

then read the manual and edit a conf file and away u go, basic webserver up, just enable it in ur firewall settings and ur online.
 
  


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
vsftp problem ramzi Linux - Software 3 04-19-2006 07:41 PM
VSFTP Problem reythegreatdotcom Linux - Newbie 2 11-14-2005 08:29 AM
vsftp problem dsf767 Linux - Networking 3 02-03-2005 04:05 AM
vsftp localhost problem kakridge Linux - Newbie 1 07-15-2003 01:00 AM
Odd VSFTP problem. Gjallis Linux - Software 2 06-28-2003 03:34 PM

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

All times are GMT -5. The time now is 02:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration