-   Linux - Networking (
-   -   VSFTP....1 ftp root for all (

pmaxhammond 10-26-2003 11:04 PM

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.

Y0jiMb0 10-27-2003 01:15 AM

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 :)


andguent 10-30-2003 10:31 AM

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.

All times are GMT -5. The time now is 06:41 AM.