On 6/22/05, Scott Mulholland <[EMAIL PROTECTED]> wrote: > I was involved in a discussion earlier today about the feasibility of > building a control panel like solution to allow for users to maintain items > like domains, emails, etc. (think cpanel) on the linux platform. Not being > a linux person myself I was trying to find resources speaking to the > following: > > - Is there a way for cold fusion to have root level access without > being run under the root user? i.e. some way to mimic the permissions. > > - If no, what are the explicit security concerns, if any, of allowing > cold fusion to run under root > > - Are these items things that can actually be accessed and scripted > via cold fusion. > > Anyone have any good articles that would address this, google isn't coming > back with much for me. > > Thanks, > Scott
Linux service configurations can be done entirely via the commandline shell scripting. ColdFusion can run Linux shell scripts, so a web interface can be designed around shell scripting controls with CFEXECUTE at the heart. ColdFusion server runs with the permissions of the ColdFusion user that you specify during the installlation, usually a non-privileged user without a login shell such as nobody. In order for ColdFusion to run as a non-priviliged user and run scripts that require root access, then sudo can be employed to make this possible. Using sudo in Linux http://home.ubalt.edu/abento/linux/terminal/sudo.html Sudo setup http://www.linuxhelp.net/guides/sudo/ Google for more... -- Steven Erat http://www.talkingtree.com/blog/ -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210289 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

