LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ftp password error (https://www.linuxquestions.org/questions/linux-software-2/ftp-password-error-324818/)

master 05-18-2005 05:41 PM

ftp password error
 
Please help i am trying to set up ftp on redhat 9 when i type in a terminal "ftp localhost" i get the message connected to localhost (127.0.0.1).
220 (vsFTPD 1.1.3)
Name (localhost:root):
I then type "ls"
"331 please type the password"
The problem is i dont know what password it is asking for as i am allready root.can any body shed some light on this please.
Thanks Nige

master 05-18-2005 06:04 PM

ok for the password i just typed "anonymous" so it now looks like this.
[root@master29 root]# ftp localhost
Connected to localhost (127.0.0.1).
220 (vsFTPd 1.1.3)
Name (localhost:root): anonymous
331 Please specify the password.
Password:
230 Login successful. Have fun.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (127,0,0,1,59,164)
150 Here comes the directory listing.
drwxr-xr-x 2 0 0 4096 Feb 28 2003 pub
226 Directory send OK.
ftp>
my question now is this where do i put files that i want to share with others?
any help on this one please.
Thanks nige

master 05-18-2005 07:25 PM

Hello i have got the answer to my last question you put any files you want to share in the dir called "pub" or craete another one and call it some thing else
[root@master29 root]# ftp localhost
Connected to localhost (127.0.0.1).
220 (vsFTPd 1.1.3)
Name (localhost:root): anonymous
331 Please specify the password.
Password:
230 Login successful. Have fun.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (127,0,0,1,172,126)
150 Here comes the directory listing.
drwxr-xr-x 3 0 0 4096 May 18 23:43 pub
226 Directory send OK.
ftp> cd pub
250 Directory successfully changed.
ftp> ls
227 Entering Passive Mode (127,0,0,1,117,204)
150 Here comes the directory listing.
drwxr-xr-x 2 0 0 4096 May 18 23:43 pythondownloads
226 Directory send OK.
ftp> cd pythondownloads
250 Directory successfully changed.
ftp> ls
227 Entering Passive Mode (127,0,0,1,139,54)
150 Here comes the directory listing.
226 Directory send OK.
ftp>
anyway all you have to do then to access your ftp server from another computer is open "ie" mozilla type in "http://ipaddress"
and you have done it im quite chuffed not bad for a nights work.

master 05-18-2005 07:31 PM

but i still have another problem now anybody can access my ftp server and i dont want them to so where do i add names or ip addresses to only allow certain people access?and would it be possible if some one tells me to give me an example please.
thanks nige

master 05-19-2005 03:59 PM

hello again i have since restarted my computer and it would seem i am back to square 1 when i type in "ftp localhost" i get this message.
ftp: connect connection refused
ftp>
so what i did was this as root i type
#chkconfig vsftpd on
#/etc/init.d/vsftpd start
i then type in "ftp localhost" and i get the same error message can any body help please


All times are GMT -5. The time now is 04:13 AM.