Setting up ftp users for web site

How do I set up ftp users A and B for only web site at domain C?

Setting C’s directory to A’s home works for one but not both, it seems.

Thanks.

I’ve never really grokked the answer to that question. I think it has something to do with ‘chroot’ - which to me is another name for a cigar :slight_smile: I think it boils down to the intrinsically unsatisfactory solution of share ftp login. I think the surge in ‘CMS’ use is often a response to the difficulty of doing this. If we can’t collaboratively access sites securely for maintenance and development, we have to use tools that provide a web interface and battle our way through whatever constructs the CMS establishes. Most CMS either limit your flexibility in some ways, or if they are really flexible, have a heck of a learning curve and/or overhead relative to, say, ftp and vanilla HTML.

[quote]If we can’t collaboratively access sites securely for
maintenance and development, we have to use
tools that provide a web interface and battle
our way through whatever constructs the CMS
establishes.

[/quote]

No way on this project! FTP Client is the interface of policy and legacy, and I’m hoping there’s no good reason it is not still workable.

Any suggestions greately appreciated.

Still not ftp, but I’ve used Invision Power File Manager on one site with some success.

I’m attempting to grant access to a single domain on my main account.

I made an account for access to and while it seems to
connect ok, it seems to be accessing a level above
the web accessible level.

The folder structure looks like below and can’t be accessed from the web.

logs
Maildir
.alias
.bashrc
.bash_profile
.cshrc

How can I allow someone to login to only their site??

below is a thread that i think answers Pages issue…

http://discussion.dreamhost.com/showthreaded.pl?Cat=&Board=forum_beginners&Number=5765&page=&view=&sb=&o=&vc=1#Post5765

That’s not above the web level. That’s the user’s own directory, separate from the web site’s directory. The simplest fix is to change the latter to equal the former.

“The only way around this is to create the user within another user’s home directory, or else to have one user be a shell user”

Yowch. Esp. since that prangs a user’s access to a second site.

Supports answer and my reply:


[quote]If you need to allow two separate people access to the same site but do
not want them to have access to other sites, you may want to consider
creating a brand new FTP account used solely for that purpose:

https://panel.dreamhost.com/index.cgi?tree=users.users

[/quote]

Thanks, but that loses the ability of me to control the as separate users.

[quote]…and then moving that domain so that it’s hosted under it:

https://panel.dreamhost.com/index.cgi?tree=domain.web

[/quote]

Thanks, but that break the access of any existing user of the domain’s
space.