• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 450
  • Last Modified:

wu-ftpd problems

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
nikitin
Asked:
nikitin
1 Solution
 
nikitinAuthor Commented:
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
 
fobzzCommented:
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
 
dkloesCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now