Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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 Topafter you don all these steps.
@ the # prompt
#service xinetd restartnow you're done.

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

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.

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 againmichael

![]() |
![]() |
![]() |

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