Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #238990
| From | Jeremy Ardley <jeremy@ardley.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: how would you do this? |
| Date | 2021-08-19 03:40 +0200 |
| Message-ID | <CNFcd-2yh-1@gated-at.bofh.it> (permalink) |
| References | <CNEzv-26Q-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how would you do this? songbird <songbird@anthive.com> - 2021-08-19 03:00 +0200
Re: how would you do this? Cindy Sue Causey <butterflybytes@gmail.com> - 2021-08-19 03:30 +0200
Re: how would you do this? songbird <songbird@anthive.com> - 2021-08-19 14:40 +0200
Re: how would you do this? Roberto C. Sánchez <roberto@debian.org> - 2021-08-19 03:30 +0200
Re: how would you do this? songbird <songbird@anthive.com> - 2021-08-19 14:40 +0200
Re: how would you do this? Jeremy Ardley <jeremy@ardley.org> - 2021-08-19 03:40 +0200
Re: how would you do this? songbird <songbird@anthive.com> - 2021-08-19 14:50 +0200
Watching a directory, was Re: how would you do this? David Wright <deblis@lionunicorn.co.uk> - 2021-08-19 04:40 +0200
Re: Watching a directory, was Re: how would you do this? songbird <songbird@anthive.com> - 2021-08-19 14:30 +0200
Re: Watching a directory, was Re: how would you do this? David Wright <deblis@lionunicorn.co.uk> - 2021-08-20 05:50 +0200
Re: Watching a directory, was Re: how would you do this? didar <nosferatu@purlo.in> - 2021-08-21 15:50 +0200
Re: Watching a directory, was Re: how would you do this? David Wright <deblis@lionunicorn.co.uk> - 2021-08-22 06:40 +0200
csiph-web