When viewing the details of a logged action, an annotation can be entered to explain why it was done.
---- Changes since 1.400 ----
Added a section to the Action Details page for viewing raw log data, which can show more detail.
+---- Changes since 1.410 ----
+Added an option to search for actions by non-Webmin users (such as those authenticating via sudo).
&ui_select("user", undef, \@unames)."<br>" ] );
if ($access_users{'*'}) {
push(@opts, [ 2, $text{'index_nuser'}." ".
- &ui_select("nuser", undef, \@unames) ]);
+ &ui_select("nuser", undef, \@unames)."<br>" ]);
+ push(@opts, [ 3, $text{'index_ouser'}." ".
+ &ui_textbox("ouser", undef, 20) ]);
}
print &ui_table_row($text{'index_susers'},
&ui_radio("uall", 1, \@opts));
index_uall=By any user
index_user=By user
index_nuser=By any user except
+index_ouser=By non-Webmin user
index_mall=In any module
index_module=In module
index_tall=At any time
local ($pos, $time, $user, $module, $sid) = split(/\s+/, $idx);
if (($in{'uall'} == 1 ||
$in{'uall'} == 0 && $in{'user'} eq $user ||
+ $in{'uall'} == 3 && $in{'ouser'} eq $user ||
$in{'uall'} == 2 && $in{'nuser'} ne $user) &&
($in{'mall'} || $in{'module'} eq $module) &&
(!$in{'sid'} || $in{'sid'} eq $sid ||
$searchmsg = join(" ",
$in{'uall'} == 0 ? &text('search_critu',
"<tt>".&html_escape($in{'user'})."</tt>") :
+ $in{'uall'} == 3 ? &text('search_critu',
+ "<tt>".&html_escape($in{'ouser'})."</tt>") :
$in{'uall'} == 2 ? &text('search_critnu',
"<tt>".&html_escape($in{'nuser'})."</tt>") : "",
$in{'mall'} ? '' : &text('search_critm',