parse-sudoers - reformat sudoers data
parse-sudoers does not follow the sudoers BNF, though will tidy up the data, especially where unsorted users reside in sprawling multiline blocks.
$ cat input User_Alias SOME_USERS = finell, dobbs, bialy, \ garib, cavaluzzi, kubica, \ deutschman, noth, standford, mcelmurry $ parse-sudoers input User_Alias SOME_USERS = bialy, cavaluzzi,⏎ deutschman, dobbs, finell, garib, kubica,⏎ mcelmurry, noth, standford
Technorati Tags: Perl