mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
16 lines
396 B
Perl
Executable File
16 lines
396 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# Write an actions log for a login
|
|
|
|
BEGIN { push(@INC, ".."); };
|
|
use WebminCore;
|
|
|
|
&init_config();
|
|
($username, $sid, $remoteip, $localip) = @ARGV;
|
|
if ($username && $sid && $remoteip) {
|
|
$WebminCore::remote_user = $remote_user = $username;
|
|
$main::session_id = $sid;
|
|
$0 = "miniserv.pl";
|
|
&webmin_log("login", undef, undef, undef, "global", undef,
|
|
undef, $remoteip);
|
|
}
|