|
From: Jamie C. <jca...@we...> - 2006-10-30 19:30:21
|
This is actually possible, via an un-documented option. Just edit the file /etc/webmin/miniserv.conf and add the line :<br /><br />logout_script=3D/path/to/some/script.pl<br /><br />And then restart Webmin with /etc/webmin/restart . This will be run when a user logs out or times out, with the username, session ID, remote IP and local IP as parameters.<br />There is also a matching login_script parameter, but it doesn't sound like you need that.<br /><br />=A0- Jamie<br /><br />On 30/Oct/2006 10:06 Dave Isaacs wrote ..
<blockquote type=3D"cite">
<div><span class=3D"785420118-30102006"><font size=3D"2" face=3D"Arial" color=3D"#0000ff">Thanks!=A0 That's great!=A0 Looking forward to
it.</font></span></div>
<div><span class=3D"785420118-30102006"><font size=3D"2" face=3D"Arial" color=3D"#0000ff"></font></span>=A0</div>
<div><span class=3D"785420118-30102006"><font size=3D"2" face=3D"Arial" color=3D"#0000ff">Unfortunately, our customer want to take this an extra step.=A0 They
have in mind some sort of config audit process that will be kicked off whenever
a webmin user logs out or a webmin session times out.=A0 Kicking off a
process when logging out of webmin seems straightforward enough.=A0 It's the
kicking off a process when timing out of webmin that concerns me.=A0 If have
no idea how to achieve this.=A0 Any suggestions?</font></span></div>
<div><span class=3D"785420118-30102006"><font size=3D"2" face=3D"Arial" color=3D"#0000ff"></font></span>=A0</div>
<div><span class=3D"785420118-30102006"><font size=3D"2" face=3D"Arial" color=3D"#0000ff">Thanks</font></span></div>
<div><span class=3D"785420118-30102006"><font size=3D"2" face=3D"Arial" color=3D"#0000ff"></font></span>=A0</div>
<div><span class=3D"785420118-30102006"><font size=3D"2" face=3D"Arial" color=3D"#0000ff">Dave
I</font></span></div>
<blockquote style=3D"margin-right: 0px;">
<div></div>
<div lang=3D"en-us" dir=3D"ltr" align=3D"left" class=3D"OutlookMessageHeader"><font size=3D"2" face=3D"Tahoma">-----Original Message-----<br /><b>From:</b>
web...@li...
[mailto:web...@li...] <b>On Behalf Of </b>Jamie
Cameron<br /><b>Sent:</b> Friday, October 27, 2006 2:26 PM<br /><b>To:</b> Webmin
users list<br /><b>Subject:</b> Re: [webmin-l] Postfix module and the Webmin
Actions Log<br /><br /></font></div>On 27/Oct/2006 10:51 Dave Isaacs wrote ..
<blockquote type=3D"cite">
<p><font size=3D"2">From inspecting the source of the Postfix module, it appears
that the Postfix module does almost no logging to the Webmin Actions
Log.=A0 Is this conclusion correct?=A0 If yes, will this ever be
remedied?</font></p>
<p><font size=3D"2">This is an issue because a customer of ours requires that
changes to the Postfix configuration be auditable.=A0 We can roll our own
change-auditing process, but it would be nice if Webmin was doing it for
us.</font></p>
<p><font size=3D"2">Thanks</font> </p>
<p><font size=3D"2">Dave I</font> </p></blockquote>That is (unfortunately) correct
.. however, now that you have pointed it out, I do plan to add logging in the
next Webmin release.<br /><br />=A0- Jamie<br /><br /></blockquote></blockquote><br />
|