[webmin-devel] Usermin Module Global Data

"Bill Moyers" <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
Hi, is there a good way to have a global data file for a usermin module?
In other words, certain actions in a usermin module should add/delete a
line to a single file regardless of user. The global file will be
processed by a single cron job later. One option obviously is to have a
globally writeable file, but this seems like a bad solution.

I could maybe use the global webmin log, but the goal is to have the file
processed by a root cron job and it would be really expensive to parse the
whole webmin log every time. Maybe webmin could have per-module logging?
Still the cronjob would have to delete any stale entries in the log to
avoid things getting out of control,  that seems sort of ugly. Any better
ideas?


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.