Bug 209388

Summary: yast2-sudo don't show changes in /etc/sudoers
Product: [openSUSE] openSUSE 10.2 Reporter: Claes Backstrom <claes.backstrom>
Component: YaST2Assignee: Katarina Machalkova <kmachalkova>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 4 plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Claes Backstrom 2006-10-01 19:41:18 UTC
I have changed my /etc/sudoers file by hand (uncommented the first %wheel line, commented some other lines). And yast2-sudo don't show my hand made changes. 
Meaning it don't show me that the wheel group have rights to use sudo.

Claes
Comment 1 Katarina Machalkova 2006-10-02 07:48:29 UTC
Grrr, when developing the module, I used /etc/sudoers.test  file to be read/written by YaST in order not to screw up my working system ;-)
And it seems that before submitting package to build, I forgot to switch it back to real /etc/sudoers. 

Please go to /usr/lib/YaST2/servers_non_y2 and check whether you see there something like: 'my $filename = "/etc/sudoers.test";' Change it to /etc/sudoers. That might help...

I'll submit fixed package in due course (2.14.2)
Comment 2 Katarina Machalkova 2006-10-02 07:50:14 UTC
The file in question, that needs to be corrected is '/usr/lib/YaST2/servers_non_y2/ag_etc_sudoers'.
Comment 3 Claes Backstrom 2006-10-02 12:47:39 UTC
Yes that's correct. 
When I change the value to /etc/sudoers from /etc/sudoers.test all works as expected.

Thanks
Claes
Comment 4 Katarina Machalkova 2006-10-18 17:02:30 UTC
Done (with some more fixes)
yast2-sudo 2.14.2