[Bug 1156929] YaST2 sudo destroys /etc/sudoers: Deletes all lines after the user permission specifications
http://bugzilla.suse.com/show_bug.cgi?id=1156929 http://bugzilla.suse.com/show_bug.cgi?id=1156929#c10 David Diaz <dgonzalez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #10 from David Diaz <dgonzalez@suse.com> --- The issue was in the SCR agent in charge to deal with the file since it's original design was obsolete for the current sudoers file format. Summarizing, the agent stores the empty lines and comments before a rule or alias as its comment. Thus, everything after the last rule or alias found was being discarded because the agent does not know/understand the directives and they look like comments (e.g. #includedir /etc/sudoers.d) By now, it has been patched to not kill those lines, keeping all the content found after the last rule or alias. See the original PR at https://github.com/yast/yast-sudo/pull/13 for more details. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com