[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how would you do this?




On 19/8/21 8:55 am, songbird wrote:
   let's suppose you have a directory where there are
various scripts, libraries, programs, data, etc.

   you want to know exactly which other scripts, libraries,
etc. use them and to log each caller to know the name so
it can be tracked down (location would be nice too, but
that could be found later if needed).

   i don't need to keep the information in a database as
just having the log file will be enough.

   how would you do this?

   this isn't a homework assignment i'm just curious how
easy or hard this would be to accomplish.

   thanks.  :)


   songbird

Selinux has a lot of the hooks to do this - in permissive mode of course - but I don't think it can identify the calling script without you going to great lengths to tag files.

--
Jeremy

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: