Displaying 1 result from an estimated 1 matches for "mylogout".
Did you mean:
logout
2004 Jun 03
2
login script
...to generate a log file with the time when a user
logon into the machine and the time when the user logout.
I tryed the following ...
In the smb.conf I wrote in the [netlogon] section
[netlogon]
root preexec = /usr/local/samba/lib/mylogin.pl %T %u %m
root postexec = /usr/local/samba/lib/mylogout.pl %T %u %m
The problem is I had only short connections. I mean, the log file tells
that users login for just 1 minute. I think maybe there is another samba
service that is making noise in the logfile. I mean other services are
treated like conections by the scripts mylogon and mylogout. Any idea...