From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321552.tru64-unix-managers.marc@archive.invalid> From: LES MAYEDA TECH SUPPORT/ISS X6656 Date: Mon, 14 Oct 1996 16:23:42 +0000 To: tru64-unix-managers Subject: SUMMARY: Can files be deleted w/o using rm X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321552 My thanks to all who replied! Original Question: > Sorry but I forgot to indicate that we are also > logging the mv command if someone tries to rename > a file then delete it. > Les > ----- > We have replaced the original 'rm' command > with a c pgm that logs all its use everytime > it is invoked (SYSADMIN mag Nov/Dec 94). > > A file disappeared and it did not show up in our > rm log files. > > My questions are: > 1) Can files be deleted without using > the 'rm' command? > 2) Is there a way to log these alternate methods? > > Thanks, > > Lester Mayeda > Cedars-Sinai Medical Center > mayeda@csmc.edu Summary of Replies: Yes, people can delete without using the rm command. 1) use their own copy of the rm or mv command. 2) use the unlink call/command in a pgm, script, or system call. Yes, auditing can be turned on depending on the operating system. 1) patch the kernel to log low level system calls. 2) turn on auditing (see O/S Security section). Thanks again to everyone who replied! Also many thanks for the sample programs/scripts provided. Les