[sudo-commits] sudo changeset 8088:4585ec2404ab

Todd C. Miller Todd.Miller at courtesan.com
Mon May 21 14:24:41 EDT 2012

changeset:	8088:4585ec2404ab in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/4585ec2404ab
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon May 21 14:24:27 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.


 set_perms.c |   6 +++---
 sudo.c      |  16 ++++++++++++----
 2 files changed, 15 insertions(+), 7 deletions(-)

More information about the sudo-commits mailing list