Situation: ---------- * I have a shared directory tree, world writable, shared by NFS server (I'm not sure of server's OS - probably solaris, maybe linux) to many client machines (whole network has common users/authentication scheme).
* Recently I found that most of the contents of this dir had been wiped out completely. This happened twice. (and no, we're not close to filling the storage quota on the server). * The world writability of this dir is a desired feature, and worked flawlessly for a long time. Having it all wiped out does not cause much damage, but is annoying (you may think of it as some kind of large cache). * I have no reason to believe that the network is compromised, or that this is caused by malicious hacking. Most likely someone is running a buggy script (that does something like rm -rf ./ ). The problem: ------------ Next time it happens, I want to find out which machine/user/process is doing it, so we can understand the problem and figure out a way to avoid it reoccurring, without sacrificing the flexibility offered by the world-writability (I can, of course, limit the permissions, but I can't be sure that the offending user would notice the errors or report them to me). For example, I suppose I can put a "bait" file into that dir, and have it monitored every minute or so by a cron job on one of the clients. When it finds the bait have been deleted, I can hope that the offending job is still running and try to locate it. There's just too many client machines to hope to search them all, so we'll have to do something on the server - possibly some sort of query to the nfs-server. Complication: I don't have root on the server. I can ask the friendly sysadmin for help if it's a simple log-viewing or nfs-server related commands, but we can't compromise the server's operation or run any wierd root processes from my cron-jobs. Any ideas of a simple way to do that? Is there a way to tell nfs-serv to "issue a log message if this and that file is touched"? regards, AA ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
