[sudo-commits] sudo changeset 8087:c056b6003e6f

Todd C. Miller Todd.Miller at courtesan.com
Mon May 21 13:59:13 EDT 2012

changeset:	8087:c056b6003e6f in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/c056b6003e6f
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon May 21 13:59:02 2012 -0400

Log Message:
	If sudoers_mode is group-readable but the actual sudoers file is
	not, open the file as uid 0, not uid 1.  This fixes a problem when
	sudoers has a more restrictive mode than what sudo expects to find.
	In older versions, sudo would silently chmod the file to add the
	group-readable bit.


 plugins/sudoers/set_perms.c |   8 ++++----
 plugins/sudoers/sudoers.c   |  18 ++++++++++++++----
 2 files changed, 18 insertions(+), 8 deletions(-)

More information about the sudo-commits mailing list