[sudo-commits] sudo changeset 8292:e84a081f3c11

Todd C. Miller Todd.Miller at courtesan.com
Thu Aug 2 14:50:49 EDT 2012


changeset:	8292:e84a081f3c11 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/e84a081f3c11
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Aug 02 14:37:32 2012 -0400

Log Message:
	If a command matches using an empty Runas_List (i.e. Runas_List is
	present but empty) and the -u option was not specified, set runas_pw
	to user_pw instead of using runas_default.  This is intended to be
	used in conjunction with the Solaris Privilege Set support for rules
	that grant privileges without changing the user.

diffstat:

 plugins/sudoers/check.c       |  14 +++++++++++---
 plugins/sudoers/defaults.c    |   2 +-
 plugins/sudoers/match.c       |  29 +++++++++++++++++++++--------
 plugins/sudoers/parse.c       |  16 ++++++++++++++--
 plugins/sudoers/parse.h       |   2 +-
 plugins/sudoers/sudoers.c     |   2 ++
 plugins/sudoers/sudoers.h     |   7 +++++++
 plugins/sudoers/testsudoers.c |   2 +-
 8 files changed, 58 insertions(+), 16 deletions(-)



More information about the sudo-commits mailing list