[sudo-commits] sudo changeset 8104:d367d7479328

Todd C. Miller Todd.Miller at courtesan.com
Tue May 29 16:25:46 EDT 2012

changeset:	8104:d367d7479328 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/d367d7479328
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