I have the same issue.
My sudoers file contains the line:
%pd03admins ALL=(ALL) NOPASSWD:/bin/su -
I added the sudoers grammar reported in this link https://communities.bmc.com/message/126013
and now I see my sudoers (as config file) like this:
Now, I have packed that line in a BLPackage modified it to the following (to add a new line into the sudoers):
But, when deploy that package my sudoers file has been corrupted to this:
%pd03admins=ALL (ALL) NOPASSWD:/bin/su -
%test=ALL (ALL) NOPASSWD:/bin/su -
The sudoers file grammar is old from 2004 so maybe someone has a "new one"?
Any idea on this?