Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sudoers: support new @include/@includedir directives #693

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

ptoscano
Copy link
Contributor

Make sure to not confuse them with NIS groups.

These new directives were added in sudo 1.9.1.

Make sure to not confuse them with NIS groups.

These new directives were added in sudo 1.9.1.
@@ -127,7 +127,7 @@ let sto_to_com_host = store /[^,=:#() \t\n\\]+/
Escaped spaces and NIS domains and allowed*)
let sto_to_com_user =
let nis_re = /([A-Z]([-A-Z0-9]|(\\\\[ \t]))*+\\\\\\\\)/
in let user_re = /[%+@a-z]([-A-Za-z0-9._+]|(\\\\[ \t]))*/
in let user_re = /[%+@a-z]([-A-Za-z0-9._+]|(\\\\[ \t]))*/ - /@include(dir)?/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to impact perf on this lens but well 🤷

@raphink raphink merged commit 4ec5da0 into hercules-team:master Sep 17, 2020
@ptoscano ptoscano deleted the sudoers-at-include branch September 17, 2020 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants