Page 1 of 1

multiple users in proftpd

PostPosted: 14. May 2006 16:50
by feest
how can i make 2 diffrent users on xampp with proftp and make one user start in /opt/lampp/htdocs/person2 and the other in /opt/lampp/htdocs ? is this possible? how?

PostPosted: 15. May 2006 17:34
by deepsurfer
try this: you need edit two things

proftpd.conf in line 34
DefaultRoot /opt/lampp/htdocs
change to
DefaultRoot ~

/etc/passwd change the folderdefinition from each User
to there main folders e.g.

username:x:1000:1000:username,,,:/home/username:/bin/bash
username:x:65534:0:username,,,:/folder/to/ftp/folder:/bin/false

/folder/to/ftpfolder = /opt/lampp/htdocs/ <<-- for FTP-Admin
/folder/to/ftpfolder = /opt/lampp/htdocs/userfolder <<-- for User