As a measure to combat the problem of hitting DreamHost's "soft" (undisclosed) RAM limit on shared hosting, I'd like to try running each domain/subdomain under a different UNIX user.
I would also like my personal shell account to have access to all the files for the account.
The access structure I'm going for is:
|---------------------------- ME ----------------------------|
| domain1user | subdomainuser | anothersubdomainuser | etc|
| | | | |
| domain1files | subdomainfiles | anothersubdomainfiles | etc|
|______________|________________|_______________________|____|
…and I hope that makes sense.
The idea is to keep the ability to manage all the sites from my personal shell/FTP account, but have each site "run as" (as DreamHost's control panel says) its own user, as the RAM limit is per-user (AFAIK).
Is this even possible to do? Maybe with user groups?