Search results

  1. M

    Audit logs disappeared

    I set up an audit trail to our company's Linux system in June 2020. It seemed to work fine. Now, in the verge of a new year, I decided to check whether the auditing has been working as expected. To my surprise, ausearch:ing only finds matches from about last two weeks! For example, sudo...
  2. M

    Log new directories (created in a certain place) in a file

    Hi all! I need to do the following: Monitor a certain directory (for example, /media/server/ ) for new directories being created. If a new directory is created, it should be written in a log file. The goal is to create a system (using cron), which periodically checks whether new directories...
  3. M

    How to audit mounted volume

    I have to setup audit trailing in our company. Generally Linux's in-built tool auditd works fine, but the following keeps failing: I have created a directory /media/server/ for the users to mount the server(s) on, so that each one can have their own /media/server/user1, /media/server/user2 and...