chore: edited config.yaml for universal use cases, +readme.md
This commit is contained in:
@@ -142,9 +142,7 @@ class SystemdWorker(BaseWorker):
|
||||
|
||||
return findings
|
||||
|
||||
def _check_unit_permissions(
|
||||
self, unit: Path, findings: list[AuditFindings]
|
||||
) -> None:
|
||||
def _check_unit_permissions(self, unit: Path, findings: list[AuditFindings]) -> None:
|
||||
stat = unit.stat()
|
||||
if stat.st_uid != 0:
|
||||
findings.append(
|
||||
|
||||
Reference in New Issue
Block a user