Assume I setup a new ftp account for an existing user account.
By default this ftp account has its base directory in
/home/mydomain/public_html/
Currently I can extend this initial ftp directory to sub directory like
/home/mydomain/public_html/john/
but I cannot change it to a completely different directory like
/home/mydomain/ftponly/john/
a) How do I change this intial ftp directory otherwise to
/home/mydomain/ftponly/john/ ?
Maybe I have to change some (perl) scripts (which ?) ?
Or is the base ftp directory determined by some entries in
passwd files (which ?) ?
The ftp server used on the server is pure-ftpd
b) Is there a way to define a base ftp directory for ALL ftp accounts
simultaneously? In other words: All users should have their
upper most intial base ftp from now on in
/home/mydomain/ftponly/
Peter
Peter



LinkBack URL
About LinkBacks
Reply With Quote






