fix(sudo): sudoers files with mode 0440

visudo -c reported "bad permissions, should be mode 0440" for every
file in /etc/sudoers.d.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RywMtsL8qXG7GDY3MHq9Uh
This commit is contained in:
CroneKorkN 2026-10-23 12:08:05 +02:00
parent a46eedbc4a
commit 5659559b40
No known key found for this signature in database

View file

@ -13,5 +13,5 @@ for user, commands in node.metadata.get('sudoers').items():
'user': user, 'user': user,
'commands': commands, 'commands': commands,
}, },
'mode': '500', 'mode': '0440',
} }