[ ispman-WishList-1555518 ] ispman.addUserToGroup
"SourceForge.net" <[email protected]> Sat, 09 Sep 2006 14:35:45 -0700
| Newsgroups | gmane.comp.isp.ispman.devel |
|---|---|
| Message-ID | <[email protected]> |
WishList item #1555518, was opened at 2006-09-09 23:08 Message generated for change (Comment added) made by jdelker You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447192&aid=1555518&group_id=8390 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Submitted By: Andreas John (derjohn) Assigned to: Nobody/Anonymous (nobody) Summary: ispman.addUserToGroup Initial Comment: When running suexec/suphp in Apache vor virtual hosting it's common practice to put the Apache-User into the domainuser's group. Assuming you user is called www.mydonmain.tld and the group is called mydonmain.tld, then you would add something like "mydomain.de: www-data" to the groups file. The reason for doin to is simple: If run a PHP Script that creates static files like, myfile.html, it's owned by www.mydonmain.tld:mydomain.de. If the Apache wants to read and deliver it, he does not have the rights to see it unless you set "chmod g+r" (or umask that). The drawback of doing so is that all other users on that host can read the file. If you want to htaccess protect that file, the protection would only work for the outside world. I would like to see a generic: "ispman.addUserToGroup" and an option within WEB-UI to "auto add www-data" or such. ---------------------------------------------------------------------- >Comment By: Joerg Delker (jdelker) Date: 2006-09-09 23:35 Message: Logged In: YES user_id=43997 For adding a default user to your domain group on domain creation is quite easy: Only thing to do is, to adjust domain.posixGroup.ldif.template like "memberuid: www-data" This will add that user to every domain "user" which is created. Nevertheless it would be a nice feature to have something like "ispman.addUserToGroup". It should be fairly easy to implement as only the posixGroup needs to be modified. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447192&aid=1555518&group_id=8390 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642