Re: [Dgwebminmodule-users] Warning - running as root ... message
Brought to you by:
fuzzbawl
|
From: Roger M. <tt...@au...> - 2011-03-11 08:03:22
|
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" |