Mailinglist Archive: opensuse-bugs (2746 mails)

< Previous Next >
[Bug 823292] New: Man page for sudo does not match version supplied
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 5 Jun 2013 09:44:13 +0000
  • Message-id: <bug-823292-21960@http.bugzilla.novell.com/>

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@xxxxxxxx
ReportedBy: michael@xxxxxxxxxxxxx
QAContact: ke@xxxxxxxx
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-login/487593-starting-shell-sudo-works-different-opensuse.html
) 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.

< Previous Next >