[Samba] Audit Trail/Logging For Network Logons and Logoffs
abartlet at samba.org
Wed Mar 2 22:56:21 GMT 2005
On Wed, 2005-03-02 at 14:10 -0700, Lars Rasmussen wrote:
> On Wed, 2 Mar 2005 13:12:35 -0700, Lars Rasmussen
> <lars.rasmussen at gmail.com> wrote:
> > @echo off
> > SET logoninfo=%USERNAME% logged on %DATE% %TIME:~0,8%
> > echo %logoninfo% >> \\server\hiddenshare\%USERNAME%.log
> This line should read:
> echo %logoninfo% >> "\\secure\logontimes\%USERNAME%.log"
I just hope you don't try and use the logs for anything important, given
you have to make them world writable....
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Student Network Administrator, Hawker College http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20050303/b8fdf38d/attachment.bin
More information about the samba