LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vsFTP problem (https://www.linuxquestions.org/questions/linux-software-2/vsftp-problem-67298/)

v00d00101 06-22-2003 03:21 PM

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.

david_ross 06-22-2003 03:28 PM

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.

v00d00101 06-22-2003 03:36 PM

# 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

david_ross 06-22-2003 03:46 PM

I take it that it didn't work with a standard user account?

v00d00101 06-22-2003 04:13 PM

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.

v00d00101 06-22-2003 04:29 PM

Ive decided its going to be easier if i replace vsftp with a ftpd thats a little more user friendly.

Thx for your help

DrOzz 06-22-2003 04:31 PM

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..

v00d00101 06-22-2003 05:15 PM

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.

DrOzz 06-22-2003 05:28 PM

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..

v00d00101 06-23-2003 01:51 AM

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.


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