Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-26-2003, 11:04 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
VSFTP....1 ftp root for all

I want to hook all users into one ftp root. VSFTP is configured to allow chroot from home folders but I want to get all usaers out of the home folders to 1 ftp dir.
Old 10-27-2003, 01:15 AM   #2
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
I'm using proftp and I have a file called '/etc/proftpd.conf' with the configuration of the server.
I have a line which says
DefaultRoot ~
which makes the home directory of every user to be their root directory when they are connected through ftp.
You can change thi line and instead of '~' write the directory you want.
I think you have a similar file to config the ftp server, just go to the documentation and look for it.
... I hope I'm answering your question

Old 10-30-2003, 10:31 AM   #3
Registered: Sep 2003
Distribution: Woody, SuSE, RH, LAS
Posts: 55

Rep: Reputation: 15
I assume you already have:
/etc/vsftpd.conf (or /etc/vsftpd/vsftpd.conf)

From there, what happens if you make user accounts just for ftp access, and set all of the ftp access user names to one home directory?

That should lock users into their home directories as listed in /etc/passwd

I am no guru, but I have this sinking feeling that /bin/bash is an unsecure way to access a shell.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftp - Can access FTP within office network BUT cant access via Internet! kokfei77 Red Hat 2 03-07-2012 07:24 PM
FTP to vsftp ramick Linux - Software 3 12-05-2003 01:46 PM
vsftp- restricting root access cjpsparks Linux - Software 0 11-12-2003 12:39 PM
Using root user with vsftp bmw5002 Linux - Software 3 08-29-2003 08:52 AM
Adding FTP users in vsFTP groovybrandon Linux - Software 3 02-27-2003 09:16 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration