?
Solved

VSftp Config

Posted on 2004-04-08
2
Medium Priority
?
1,696 Views
Last Modified: 2013-12-16
I am running SUSE9 and trying to configure VSftp so that local users can log in and go to a common directory rather than go the individual home directorys.

I have tried a few things it mentions in the MAN file (not really much help) ie. secure_chroot_dir=/home/ftp
which doesnt work, I have also tried local_root=/home/ftp which does work but allows the user to cdup all the way to the root (not at all secure), not really sure why this is happening.

Is there a better way of doing this or is there an easier ftp program to use.

Thanks
0
Comment
Question by:shaggy666
[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
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 10783083
I think that you should be able to do this quite easily with ProFTP (http://www.proftpd.org/) by setting "DefaultRoot /path-to/common-area"
0
 
LVL 9

Expert Comment

by:Alf666
ID: 10783126
Hehe. Funny. Just replied the opposite to another question :

http://www.experts-exchange.com/Security/Linux_Security/Q_20947316.html

This guy needs to restrict his users. I advised him to use the proper software : vsftpd.

You need to "open up". So jlevie's advice of not using vsftpd is the good one :-)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

770 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