?
Solved

wu-ftpd problems

Posted on 2001-07-05
3
Medium Priority
?
386 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 800 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

Application Discovery Service in AWS

In the era of the cloud, customers migrating away from their existing on-premise infrastructure. This requires lots of planning, strategies, and effort to identify their existing resources and determine how best to migrate.  Datacenter migrations happen in four phases -

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

762 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