0

There are roughly 30 users and 30 directories with this structure:

/home/user1/input/
/home/user2/input/
/home/user3/input/
/home/user4/input/
...

A check should monitor the directories.

If the oldest file in a directory is older than 5 hours, then the check should return 1 (WARNING).

The check does not run as superuser.

How to give the script the permission to check these directories and nothing else?

We use OpenSuse 42.1

There is a follow up question, how to solve this with SaltStack: SaltStack: Change linux ACLs for /home/*/input/

guettli
  • 3,113
  • 14
  • 59
  • 110

0 Answers0