Solved

wu-ftpd problems

Posted on 2001-07-05
3
346 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now