LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-12-2007, 10:38 AM   #1
Ordinary12
Member
 
Registered: Feb 2007
Posts: 140

Rep: Reputation: 15
vsFTPd help!!!


Hey:

I'm reading along in my book on how to setup the vsFTPd server on my laptop. I installed it and got the message that let's me know it's working but the prompt changes to "ftp" and I don't know how to get out of it. Do I need to be in that mode to make changes to the FTP erver or can I access it from a GUI? How do I get out of that prompt so I can try to access from a terminal?
 
Old 05-12-2007, 01:16 PM   #2
skunkburner
Member
 
Registered: Mar 2004
Distribution: Fedora Core 17 & 18, Debian Wheezy
Posts: 137

Rep: Reputation: 16
just say 'bye'

[root@TV ~]# ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 2.0.4)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (127.0.0.1:root): delta-9
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bye
221 Goodbye.
[root@TV ~]#

If you want an ftp gui look here http://linuxreviews.org/software/ftp-clients/

Last edited by skunkburner; 05-12-2007 at 01:19 PM.
 
Old 05-12-2007, 04:00 PM   #3
Ordinary12
Member
 
Registered: Feb 2007
Posts: 140

Original Poster
Rep: Reputation: 15
I just turned on my laptop again and tried to login to the vsftpd using the following command:

As root. "chkconfig vsftpd on", "service vsftpd start", I then see an "OK" to the right of this command.

I then type: "ftp localhost" and I get the following message:
"ftp: localhost: unknown host" and then I get and ftp prompt. What is going on?

I'd also like to know if I can set the server features from a gui? I don't mean a client that accesses it. I mean a gui on the computer that lets me decide who gets access to what ever.

Last edited by Ordinary12; 05-12-2007 at 04:02 PM.
 
Old 05-14-2007, 04:42 AM   #4
skunkburner
Member
 
Registered: Mar 2004
Distribution: Fedora Core 17 & 18, Debian Wheezy
Posts: 137

Rep: Reputation: 16
>"ftp: localhost: unknown host" and then I get and ftp prompt. What is going on?
Your pc cannot resolve 'localhost' to an ip address, so if you add
'127.0.0.1 localhost.localdomain localhost'
to /etc/hosts that will solve that.

I don't know of any gui to setup vsftp, but if you add the following lines to your vsftpd.conf
ONLY the usernames in /etc/vsftpd.userlist will be allowed to login.

userlist_file=/etc/vsftpd.userlist
userlist_enable=YES
userlist_deny=NO

Skunkburner
 
Old 05-14-2007, 09:41 AM   #5
Ordinary12
Member
 
Registered: Feb 2007
Posts: 140

Original Poster
Rep: Reputation: 15
Okay. I went into /etc/hosts and added 127.0.0.1 in front of localhost.localdomain localhost. Then I did a loop back ping to make sure I could reach myself. I was able to reach myself but when I tried to login to the vsFTPd server I kept getting the same message of "ftp: localhost: unknown host". I'm thinking about un-installing the server and reloading it again. Does anyone know the command to do this?
 
Old 05-16-2007, 09:39 AM   #6
Ordinary12
Member
 
Registered: Feb 2007
Posts: 140

Original Poster
Rep: Reputation: 15
Just in case anyone is looking at this for an answer to the same problem:

The answer to this, for me, was that I had given my computer a name before I setup vsFTPd and that made the command of "ftp localhost" invalid. You have to use the name of your computer now. Ex. "ftp yourcomputername". It will work after this.
 
  


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 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, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
vsftpd & ssl - how do I tell if it's actually vsftpd maintaining the connections?? hunterhunter Linux - General 0 03-27-2006 04:41 PM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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