Hi, We are currently running a student shares server with Samba and have recently had people storing files in their areas that shouldnt be there. Our main IT unit has asked for logs of when these files are being accessed. This is too late now but for next semester, is there a way of logging just the file name, action and user so we can combat this in the future. Is it something that could be simply written? Regards, Jarrod Sayers IT Support School of Communication and Information Studies University of South Australia, Magill Campus.
Jarrod Sayers wrote:> > Hi, > > We are currently running a student shares server with > Samba and have recently had people storing files in their > areas that shouldnt be there. Our main IT unit has asked > for logs of when these files are being accessed. This is > too late now but for next semester, is there a way of > logging just the file name, action and user so we can > combat this in the future. Is it something that > could be simply written?This should be possible by catching the file open. I would recommend making this a service level parameter as you will probably take a performance hit due to extra disk IO caused by logging. Cheers, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com VA Linux Systems gcarter@valinux.com http://www.samba.org SAMBA Team jerry@samba.org http://www.eng.auburn.edu/~cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )