[sudo-commits] sudo changeset 5155:bf889c38f229

Todd C. Miller Todd.Miller at courtesan.com
Sun Mar 21 08:58:33 EDT 2010


changeset:	5155:bf889c38f229 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/bf889c38f229
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Sun Mar 21 08:54:06 2010 -0400

Log Message:
	Fix the -s and -i flags and add support for the "implied_shell"
	option.  If the user does not specify a command, sudo will now pass
	in the path to the user's shell and set impied_shell=true.  The
	plugin can them either check the command normally or return -2 to
	cause sudo to print a usage message and exit.

diffstat:

 doc/sudo_plugin.cat       |  286 ++++++++++++++++++++++++++++-----------------
 doc/sudo_plugin.man.in    |   11 +-
 doc/sudo_plugin.pod       |   10 +
 plugins/sudoers/sudoers.c |   89 +++----------
 plugins/sudoers/sudoers.h |    2 -
 src/parse_args.c          |   63 ++++++++-
 src/sudo.c                |   13 +-
 src/sudo.h                |    4 +
 8 files changed, 286 insertions(+), 192 deletions(-)



More information about the sudo-commits mailing list