PDA

View Full Version : Create FTP account for /var/www/html



itwanabe
03-08-2008, 05:20 PM
Is this possible? I need some custom work on squirrelmail and obviously, I don't want to give root access to access the said folder. Any idea how to perform this if it is indeed possible? Thanks

itwanabe
03-10-2008, 10:34 AM
So This Isn't possible I assume?

smtalk
03-10-2008, 10:36 AM
It's possible :) Just create a new proFTPd user (e.g. webapps) with /var/www or /var/www/html as its docroot.

itwanabe
03-10-2008, 11:02 AM
Do you mean under any domain in the DA user admin?

itwanabe
03-11-2008, 11:35 AM
Anyone? Can someone show me how to create this new ftp user?

iceuk626
03-11-2008, 12:13 PM
you can create a user via ssh using the useradd command and specify the directory you need.

itwanabe
03-11-2008, 01:11 PM
I can add users via ssh but how do i create the ftp user for the user? Any how-to? Thanks

nobaloney
03-14-2008, 03:09 PM
A user added with the adduser command will automatically have access to ftp.

Whether or not the user will have access to the /var/www/html directory will depend on the rights and ownership in that directory path.

Jeff