Thanks for your responses. My addon domain also needs a separate ftp account for my users to be able to upload files, and I also need to access their data for maintenance purposes. I actually have dreamhost account but I am planing to move to another hosting which has a main shell account where I can manage everything using that account (main shell account). Having a difficulties on managing my addon domain’s data on a single shell account is a show stopper for me. I am thinking about this solutions but I am not sure if it will work.
FTP won’t let you out of your addon1 user’s sandbox (home directory). You’ll need SFTP. And since you asked about groups: http://wiki.dreamhost.com/Groups
The article has some broken image links, but describes how to do what you want.
So when I use SFTP, do my users be able to browse other directory besides the one i symlink? (/home/mainshell/addon1.com), so security reason, I do not want my addon1.com users be able to access other directorys besides that.
Thanks, I will review the wiki youve provided. Any suggestion will be highly appreaciate!
I have symlink worked. however, when I login addon.com via SFTP, I can view the content of /home/mainshell, /home/addon2.com. is there a way to restrict addon1.com from viewing the content of other directory besides the one I assign them (/home/mainshell/addon1.com), meaning addon1 user must be jailed on /home/mainshell/addon1.com
I’ve never been able to get the groups to work as per the wiki if enhanced security is on. I’ve gone through all the motions of setting up groups, chgrp of the directory and files, make a symlink from the new user’s account to the directory I want to share, etc, etc, but no go. Permission is always denied unless I turn off enhanced security, which I don’t want to do. The way around it that I found a while ago (but might have forgotten) is that I turn off enhanced security for the other person’s account, and then I can go in, chgrp on the uploaded files, then move them over manually. I kind of gave up on the idea after a while.
I’m still learning, so please don’t take this as advice.