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:
parent
a46eedbc4a
commit
5659559b40
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue