https://bugzilla.novell.com/show_bug.cgi?id=227397 Summary: sudo yast module can produce sudoers file which cannot be parsed Product: openSUSE 10.2 Version: RC 5 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: kmachalkova@novell.com ReportedBy: anicka@novell.com QAContact: jsrain@novell.com When using yast2 sudo module, it is possible to create a configuration which cannot be later parsed with sudo. It would be a good idea to add some sanity check and do not allow to save a configuration which cannot be parsed later. For example: Create a new rule and add some command without a full path. Sudo module will produce line like this to /etc/sudoers: username ALL = (ALL) NOPASSWD: halt When a user will try to run command halt, it will end up like this: user@host:~> sudo halt
sudoers file: syntax error, line 21 <<< sudo: parse error in /etc/sudoers near line 21
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.