Page 1 of 1

Proftpd issue - Users end in /

Posted: Thu Mar 20, 2014 4:14 pm
by c0urier
Hi there,

I tried switching vsftpd to proftpd, everything went smooth FTP server is running but users end up in the / folder, not in their home folder - This means they have full access to view all folders in the system.
I followed this guide:
http://vestacp.com/docs/#how-to-replace ... ian-ubuntu

I didn't run into any complications during the switch, does anyone have an idea of why this is happening?

Re: Proftpd issue - Users end in /

Posted: Thu Mar 20, 2014 11:02 pm
by skid
Do you have a /etc/proftpd/virtuals.conf file? Can you please paste it here

Re: Proftpd issue - Users end in /

Posted: Sat Mar 22, 2014 8:16 pm
by c0urier
skid wrote:Do you have a /etc/proftpd/virtuals.conf file? Can you please paste it here
Hi skid,

Yes I do, this is what it contains:

Code: Select all

#
# Proftpd sample configuration for Virtual Hosts and Virtual Roots.
#
# Note that FTP protocol requires IP based virtual host, not name based.
#

#
# A generic sample virtual host.
#
#<VirtualHost ftp.server.com>
#ServerAdmin             [email protected]
#ServerName              "Big FTP Archive"
#TransferLog             /var/log/proftpd/xfer/ftp.server.com
#MaxLoginAttempts        3
#RequireValidShell       no
#DefaultRoot             /srv/ftp_root
#AllowOverwrite          yes
#</VirtualHost>

#
# The vroot module is not required, but can be useful for shared
# directories.
#
<IfModule mod_vroot.c>
#VRootEngine on

#DefaultRoot ~
#VRootAlias upload /var/ftp/upload
#
#<VirtualHost a.b.c.d>
#VRootEngine on
#VRootServerRoot /etc/ftpd/a.b.c.d/
#VRootOptions allowSymlinks
#DefaultRoot ~
#</VirtualHost>
#
#
</IfModule>

Re: Proftpd issue - Users end in /

Posted: Tue Mar 25, 2014 7:38 pm
by c0urier
Any other info I can provide to help solve this?

Re: Proftpd issue - Users end in /

Posted: Tue Oct 07, 2014 12:49 pm
by krok
No idea, but can i ask why you want to move to proftpd?