Fix the flag_file::creates_sudoers_file_with_default_ownership_and_perms_if_it_doesnt_exist test
Fix the flag_file::flag_has_precedence_over_positional_argument test
Add API to parse sudoers from a reader directly
Fix permissions for flag_file::regular_user_can_create_file
Describe the changes done on this pull request
This PR changes visudo so it passes all the compliance tests with the exception of the regular_user_cannot_update_a_file_they_dont_own because it deserves a deeper look.
Pull Request Checklist
[x] I have read and accepted the code of conduct for this project.
[x] I have tested, formatted and ran clippy over my changes.
flag_file::creates_sudoers_file_with_default_ownership_and_perms_if_it_doesnt_exist
testflag_file::flag_has_precedence_over_positional_argument
testflag_file::regular_user_can_create_file
Describe the changes done on this pull request This PR changes
visudo
so it passes all the compliance tests with the exception of theregular_user_cannot_update_a_file_they_dont_own
because it deserves a deeper look.Pull Request Checklist