Skip to content

Commit

Permalink
Create the cron.allow file with correct permissions
Browse files Browse the repository at this point in the history
This way we will ensure that the file is created with correct
owner and permissions from the beginning.

Uses the new parameters of the file_existence template.
These options aren't checked by OVAL, they are only used by
remediations.
  • Loading branch information
jan-cerny committed Jan 11, 2024
1 parent a02a09d commit ed654d2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ template:
vars:
filepath: /etc/cron.allow
exists: true
fileuid: "0"
filemode: "0600"

0 comments on commit ed654d2

Please sign in to comment.