[sudo-users] Parsing the sudoers file

Tim Bradshaw tfb at tfeb.org
Mon Dec 16 03:53:50 MST 2013


On 16 Dec 2013, at 10:08, Matthew Hannigan wrote:

> My only thought was that it could provide a way for configuration automation.
> The two way conversion could be used instead of parsing/unparsing
> directly as done by the likes of Augeas.

I think that the task of *generating* a valid sudoers file from a data structure is much easier than parsing one to get a data structure, which makes this less critical.

(Note that Augeas significantly botches the parse/unparse in various cases, as well.)

--tim


More information about the sudo-users mailing list