Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for negated command alias in /etc/sudoers - fixes #262 #263
This fixes the sudoers lens to support negating command alias groups like this:
Which currently fails if the command alias appears after a comma.
An additional unit test has been added to support this fix which is also documented at https://fedorahosted.org/augeas/ticket/346 (along with a patch which was a useful confirmation that the fix I'd come up with was correct)
How does this look? Would be great to get this fixed once and for all.
Thanks for looking at this. I've updated the PR as you asked. To get the
I also had to move some definitions to be earlier in the file so that I could reference them. I've updated the tests to reflect the