[sudo-commits] sudo changeset 7142:4e8e70832f06

Todd C. Miller Todd.Miller at courtesan.com
Tue Aug 9 14:55:39 EDT 2011

changeset:	7142:4e8e70832f06 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/4e8e70832f06
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Aug 09 14:55:29 2011 -0400

Log Message:
	Go back to using a callback for runas_default to keep runas_pw in
	sync.  This is needed to make per-entry runas_default settings work
	with LDAP-based sudoers.  Instead of declaring it a callback in
	def_data.in, sudo and testsudoers poke sudo_defs_table[] which is
	a bit naughty, but avoids requiring stub functions in visudo and
	the tests.


 plugins/sudoers/defaults.h    |   2 +-
 plugins/sudoers/sudoers.c     |  20 +++++++++++---------
 plugins/sudoers/testsudoers.c |  21 +++++++++++++++------
 3 files changed, 27 insertions(+), 16 deletions(-)

More information about the sudo-commits mailing list