|
From: Charles G. <wo...@ju...> - 2010-01-29 00:50:42
|
Ok, thanks, that makes sense. User netdisco has no home directory, so not sure how to set the path for it. >From a design standpoint, what's the best way to go about this? The work-around/band-aid would be the symlinks and republish the VM. Thoughts? Charles On Thu, Jan 28, 2010 at 6:00 PM, Max Baker <ma...@wa...> wrote: > On 01/28/2010 03:10 PM, Charles Goldsmith wrote: >> >> I'm not sure which user is actually running these commands when >> running from the webpage and where/how to adjust the path for such. >> I'm guessing it is the owner of apache, which in a default freebsd >> install is www, which has no shell. >> > > The graphing is launched two ways. > > CLI: netdisco -g as current user > Web Admin Panel : A database entry is added from the front-end as user > apache, then the back end daemon running as user netdisco picks up the entry > and launches Graphviz (twopi/dot/neato). > > Both ways, the actual call to graphviz is being launched in the back-end as > user netdisco hopefully. > > -m > |