Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

adding ftp access to linux

Posted on 2002-03-18
8
Medium Priority
?
436 Views
Last Modified: 2013-12-16
I am running redHat 7.2. with proftpd. I need to add ftp access to users web site the path to the directory is
/var/www/html/users/mysite/

How do I add this to the proftpd.conf file and also username and password so it can be loged into

Could somebody please tell me the processes of adding a new customer and giving them ftp access. and how to set up the proftp.conf file. What should the proftp.conf file look like. I don't want any anonymous ftp on the server at all.

There is multable sites below users   var/www/html/users/mysite1,mysite2......etc

I have read the manual over and over and tryed some of the example conf files but I can't get it to work
0
Comment
Question by:rkurth
[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
8 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 6881641
Is there only the one directory that you want you all FTP users to get to or are there individual directories beneath the path shown above for each user?
0
 
LVL 1

Expert Comment

by:Nick
ID: 6889234
Just add this to the proftpd.conf, in the first section of directives:

DefaultRoot         ~


They will need an account on the box already so that they can log in to ftp, and (if you add a new user, proftpd will have to be restarted), and by default it should log ftp activity in

/var/xferlog

Nick
0
 
LVL 1

Accepted Solution

by:
Nick earned 80 total points
ID: 6889239
That was meant to be

/var/log/xferlog

And also DefaultRoot    ~   assumes that /var/www/html/users/mysite/ is their HOME directory anyway.

Nick
0
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

 

Author Comment

by:rkurth
ID: 6889298
Could somebody please tell me the processes of adding a new customer and giving them ftp access. and how to set up the proftp.conf file. What should the proftp.conf file look like. I don't want any anonymous ftp on the server at all.

There is multable sites below users   var/www/html/users/mysite1,mysite2......etc

I have read the manual over and over and tryed some of the example conf files but I can't get it to work
0
 
LVL 40

Expert Comment

by:jlevie
ID: 6905404
Do you need/want the FTP accounts to also be Linux accounts? ProFTP can be set up to run in a 'black box mode' where FTP users don't correspond to Linux accounts. In some cases that's desireable for security reasons. There are other scenarios where you can't use that and need each FTP account to also be a Linux account. The configuration of ProFTP is quite different for those two cases.
0
 

Expert Comment

by:CleanupPing
ID: 9077050
rkurth:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 1

Expert Comment

by:drewber
ID: 9220273
This question has been classified abandoned. I will make a recommendation to the moderators on its resolution in a week or two. I appreciate any comments that would help me to make a recommendation.
 

Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

 
If the user does not know how to close the question, the options are here:
http://www.experts-exchange.com/help/closing.jsp
 
drewber
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

670 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