Displaying 1 result from an estimated 1 matches for "sambastatit".
2004 Jun 03
2
login script
...reated like conections by the scripts mylogon and mylogout. Any idea
what's going on ? The scripts are below and thanks in advance.
#!/usr/bin/perl
# mylogin.pl
$date= shift;
$hour= shift;
$user = shift;
$machine = shift;
system("echo IN $date $hour $user $machine >>
/var/log/samba/sambaStatit.log");
-----------
#!/usr/bin/perl
# mylogout.pl
$date = shift;
$hour= shift;
$user = shift;
$machine = shift;
system("echo OUT $date $hour $user $machine >>
/var/log/samba/sambaStatit.log");