Solved

wu-ftpd problems

Posted on 2001-07-05
3
363 Views
Last Modified: 2010-04-20
Hello experts!
I'm new to linux. I've installed redhat 7.0 with the wu-ftp daemon.
My questions is, how do I let users log in with their usual login names to the ftp (their root should be set to /home/userdir/).

Please show me a complete example of a ftpaccess, ftphosts etc.
0
Comment
Question by:nikitin
3 Comments
 

Author Comment

by:nikitin
ID: 6254961
And one more thing, I get a long delay when trying to connect to the ftp from my lan (192.168.1.x) . I've added the client ips to /etc/hosts, tried shutting down identd etc..
Any suggestions?
0
 
LVL 1

Expert Comment

by:fobzz
ID: 6257595
try this link for the wu-ftp daemon: http://www.wu-ftpd.org/HOWTO/guest.HOWTO. It shows three kinds of ways you can log in (anonymous, user, and guest) basically configured the same way... Easiest way to configure wu-ftpd is to download and install a web administration software like "WEBMIN". It is really easy to use and all you do is login from a browser to configure your system. You can find "WEBMIN" at: http://www.webmin.com. For your second question, How his your network setup? What type of OS's are you using to access the ftp? What is your Hardware setup?
0
 
LVL 1

Accepted Solution

by:
dkloes earned 200 total points
ID: 6257932
Your first question:
No special setup is needed for an existing user to login normally - just login with user name and password.

However, if you want to restrict access to the user's home directory, you might try setting up the user as a "guest" ftp user if the user needs to still be able to use their normal account locally.

1.  add user account using useradd (i.e. ftpaccount
2.  edit /etc/passwd file for this user
 a.  dot (.) in home directory path becomes users home directory (i.e. /home/ftpaccount/./incoming
makes /home/ftpaccount/incoming as the user's current directory on login and /home/ftpaccount the user's
root directory.  The user would only be able to see below /home/ftpaccount.)
 b.  /etc/ftponly for shell prevents normal shell from starting (also add /etc/ftponly to /etc/shells)
3.  modify /etc/ftpaccess (i.e. guestuser ftpaccount)
4.  the ftp directory structure should be copied to the user's directory - in the example that would be
/home/ftpaccount.  If anon FTP is setup with the /home/ftp directory, you could:

cp -r /home/ftp/* /home/ftpaccount

Then change the group assignment of /home/ftpaccount/pub:

chgrp ftpaccount /home/ftpaccount/pub


Your second question should be a separate question.  However, you might look at:

http://www.experts-exchange.com/jsp/qShow.jsp?ta=linuxnet&qid=20132044
This has some good information about slow telnet login that might be relevant to your ftp situation.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question