Computing.Net > Forums > Linux > ftp problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ftp problem

Reply to Message Icon

Name: michael ford
Date: January 16, 2003 at 04:44:20 Pacific
OS: linux
CPU/Ram: pent11
Comment:

Help please
I am trying to ftp to my linux box but I can only log on using anonymous and then I can not see any files. I am using RH7 and have wu-ftp running. If I try logging on as a user I get the message Login refused even though the user exists in /etc/passwd. I think I have 2 problems and I suspect it is a file that I made an incorrect entry in but which one?

Thank you for reading this


Michael Ford



Sponsored Link
Ads by Google

Response Number 1
Name: datarec
Date: January 16, 2003 at 11:22:55 Pacific
Reply:

Michael.

Follow these steps your ftp server will work fine.

1. login @ root
2. cd \etc\xinetd.d
3. vi wu-ftpd
4. - @ the line it said - disable = yes
- remove 'YES' type in NO
- save it and exit
5. if you want to telnet from your windows environment repeat step 4 by vi the telnet
6. cd \etc
7. vi ftpaccess
and it's look like this.

# This file controls the behavior of the wu-ftpd
# ftp server.
#
# If you're looking for a graphical frontend to
# editing it, try kwuftpd from the kdeadmin
# package.
defaultserver private
# Don't allow system accounts to log in over ftp
deny-uid %-99 %65534-
deny-gid %-99 %65534-
allow-uid ftp
allow-gid ftp

# Chroot all users to their home directory by default
# (comment this out if you don't want to chroot most of your users)
# guestuser *
# If you wish to allow user1 and user2 to access other
# directories, use the line below:
# realuser user1,user2
realuser user1,user2,user3

# The ftpchroot group doesn't exist by default, this
# entry is just supplied as an example.
# To chroot a user, modify the line below or create
"ftpaccess" 75L, 2123C 2,1 Top

after you don all these steps.
@ the # prompt
#service xinetd restart

now you're done.



0

Response Number 2
Name: michael ford
Date: January 16, 2003 at 14:55:13 Pacific
Reply:

datarec
Thanks for your reply. I have done steps 1 to 6 ok but when I look at /etc/ftpaccess it dosn't look anything like your screen shot. The top line begins:- "class,all,realanonymous *

and so on


I'am perplexd


Michael


0

Response Number 3
Name: datarec
Date: January 16, 2003 at 19:40:21 Pacific
Reply:

Michael,

if you want anonymous to access your server then you left this line the way it is*class,all,realanonymous* if you want to secure your ftp server preventing other people to connect to your server like 'guest, anonymous'. I alway block this because I want to control and want to monitor who is connect to my server.

Also, if you want your server to be private server then you have to put this statement into this ftpaccess file. 'defaultserver private'

good luck.



0

Response Number 4
Name: michael ford
Date: January 16, 2003 at 23:36:04 Pacific
Reply:

datarec
thanks for the help. I won't be able to look at the machine till monday now but I'll try what you sugest then.
thanks once again

michael


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: ftp problem

router / ftp problem www.computing.net/answers/linux/router-ftp-problem/13210.html

FTP problem www.computing.net/answers/linux/ftp-problem/11115.html

FTP Problem with Open VMS7.3 www.computing.net/answers/linux/ftp-problem-with-open-vms73/28900.html