[Bug 823292] New: Man page for sudo does not match version supplied

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c0 Summary: Man page for sudo does not match version supplied Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Documentation AssignedTo: ke@suse.com ReportedBy: michael@aperantos.com QAContact: ke@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.29.13 (KHTML, like Gecko) Version/6.0.4 Safari/536.29.13 I normally use 'sudo -E -s' to gain a root shell retaining my user account's home directory as $HOME. As openSUSE sets the 'always_set_home' option in /etc/sudoers I had turned this off, but despite this it would set the home directory to the target user. After asking about this on the community forum ( https://forums.opensuse.org/english/get-technical-help-here/install-boot-log... ) I discovered that the version of sudo provided with openSUSE is compiled with the set_home option enabled. Turning this option off in /etc/sudoers resulted in the expected behaviour. The man page provided in the default openSUSE installation states for set_home that "This flag is off by default." This is wrong and made it impossible to discover the cause of the unexpected behaviour. Ideally I do not think the program should be compiled in a non-standard way, especially when the default configuration of the /etc/sudoers file includes a stronger setting so it would only apply to those who customize their configuration. But as there will have been a decision made to make it this way, the documentation needs to be updated to reflect this difference. Reproducible: Always Steps to Reproduce: man sudo Actual Results: This flag is off by default. Expected Results: This flag is on by default. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ke@suse.com |vcizek@suse.com -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c1 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |vcizek@suse.com --- Comment #1 from Vitezslav Cizek <vcizek@suse.com> 2013-06-11 09:40:49 CEST --- (In reply to comment #0)
The man page provided in the default openSUSE installation states for set_home that "This flag is off by default." This is wrong and made it impossible to discover the cause of the unexpected behaviour.
Thanks for the report. I've fixed the default status in the manual for the flags openSUSE sets explicitly in /etc/sudoers: always_set_home, targetpw and insults.
Ideally I do not think the program should be compiled in a non-standard way, especially when the default configuration of the /etc/sudoers file includes a stronger setting so it would only apply to those who customize their configuration. But as there will have been a decision made to make it this way, the documentation needs to be updated to reflect this difference.
Well, almost all distributions do their own tweaks. This setting has been the default in openSUSE for a long time, so a change will be made only if it'll be really desired. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-06-11 11:00:35 CEST --- This is an autogenerated message for OBS integration: This bug (823292) was mentioned in https://build.opensuse.org/request/show/178549 Maintenance / -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:planned:update -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c5 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Vitezslav Cizek <vcizek@suse.com> 2013-06-13 06:27:54 CEST --- Setting as resolved for now. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c6 --- Comment #6 from Swamp Workflow Management <swamp@suse.de> 2013-06-19 06:04:20 UTC --- openSUSE-RU-2013:1050-1: An update that has one recommended fix can now be installed. Category: recommended (low) Bug References: 823292 CVE References: Sources used: openSUSE 12.3 (src): sudo-1.8.6p3-3.9.1 openSUSE 12.2 (src): sudo-1.8.5p2-2.8.1 -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-07-12 17:00:11 CEST --- This is an autogenerated message for OBS integration: This bug (823292) was mentioned in https://build.opensuse.org/request/show/182936 Factory / sudo -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:planned:update |maint:planned:update | |maint:running:56201:low -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c8 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:planned:update | maint:running:56201:low |maint:running:56201:low | --- Comment #8 from Swamp Workflow Management <swamp@suse.de> 2014-02-11 10:51:29 UTC --- The SWAMPID for this issue is 56201. This issue was rated as low. Please submit fixed packages until 2014-03-11. When done, please reassign the bug to security-team@suse.de. Patchinfo will be handled by security team. -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c11 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| maint:running:56201:low | maint:running:56201:low | |maint:released:sle11-sp3:56 | |280 --- Comment #11 from Swamp Workflow Management <swamp@suse.de> 2014-02-28 11:53:07 UTC --- Update released for: sudo, sudo-debuginfo, sudo-debugsource Products: SLE-DEBUGINFO 11-SP3 (i386, ia64, ppc64, s390x, x86_64) SLE-DESKTOP 11-SP3 (i386, x86_64) SLE-SERVER 11-SP3 (i386, ia64, ppc64, s390x, x86_64) SLES4VMWARE 11-SP3 (i386, x86_64) -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c12 --- Comment #12 from Swamp Workflow Management <swamp@suse.de> 2014-02-28 15:04:22 UTC --- SUSE-RU-2014:0312-1: An update that has two recommended fixes can now be installed. Category: recommended (low) Bug References: 823292,823796 CVE References: Sources used: SUSE Linux Enterprise Server 11 SP3 for VMware (src): sudo-1.7.6p2-0.19.1 SUSE Linux Enterprise Server 11 SP3 (src): sudo-1.7.6p2-0.19.1 SUSE Linux Enterprise Desktop 11 SP3 (src): sudo-1.7.6p2-0.19.1 -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=823292 https://bugzilla.novell.com/show_bug.cgi?id=823292#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| maint:running:56201:low | |maint:released:sle11-sp3:56 |maint:released:sle11-sp3:56 |280 |280 -- 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.

http://bugzilla.novell.com/show_bug.cgi?id=823292 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |maint:released:sle11-sp3:56 |maint:released:sle11-sp3:56 |280 maint:planned:update |280 | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com