Re: [Dgwebminmodule-users] Warning - running as root ... message
Brought to you by:
fuzzbawl
|
From: Adam K. <fu...@fu...> - 2011-03-14 18:59:40
|
On 03/11/2011 03:03 AM, Roger Morton wrote: > On Thu, 2011-03-10 at 00:57 +1100, Roger Morton wrote: > >> So I am very new to webmin and DG. And I am confused as to what the >> "Warning - running as root(superuser) may cause new files to be >> innaccessible by production DansGuardian" that appears in webmin under >> DG means. >> >> What is running as root? My webmin session or my dansguardian >> application? >> >> Is this really a problem? >> >> How, do I fix it? >> >> > Well I figured out that my DG is running as the dansguardian user. So > this message must refer to the webmin session I guess. > > How do control what user webmin runs as? I would have thought it would > kinda run under the user you logged into Webmin as. > > How I know I am running DG as the dansguardian user. > Change the /etc/dansguardian/dansguardian.conf to say > daemonuser = 'dansguardian' > daemongroup = 'dansguardian' > and then when I start DG it says "Error opening/creating log file. > (check ownership and access rights). > I am running as dansguardian and I am trying to > open /var/log/dansguardian//access.log" > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Dgwebminmodule-users mailing list > Dgw...@li... > https://lists.sourceforge.net/lists/listinfo/dgwebminmodule-users > I am looking at fixing this in a future version of the module. The original fear was that creating new files from within Webmin, while doing so as root, would possibly make the files unreadable by DansGuardian. I am looking at alternate ways of handling this. -- Adam "Fuzzy" Kennedy |