LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   vsFTPd help!!! (https://www.linuxquestions.org/questions/fedora-35/vsftpd-help-553375/)

Ordinary12 05-12-2007 10:38 AM

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?

skunkburner 05-12-2007 01:16 PM

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/

Ordinary12 05-12-2007 04:00 PM

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.

skunkburner 05-14-2007 04:42 AM

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

Ordinary12 05-14-2007 09:41 AM

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?

Ordinary12 05-16-2007 09:39 AM

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.


All times are GMT -5. The time now is 06:29 PM.