Commit Graph

60 Commits

Author SHA1 Message Date
Todd C. Miller
bc813db528 Add a "noninteractive" boolean to the settings passed in to the plugin's
open function that is set when the user specifies the -n flag.
2010-04-14 08:41:53 -04:00
Todd C. Miller
f19be6da31 Handle plugin's open function returning -2 (usage error). 2010-04-13 09:36:43 -04:00
Todd C. Miller
9edc09609f Document the -2 return in the check_policy section too 2010-03-21 08:58:13 -04:00
Todd C. Miller
6b180d24da 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.
2010-03-21 08:54:06 -04:00
Todd C. Miller
18cd91d56e Document progname in settings 2010-03-19 07:56:06 -04:00
Todd C. Miller
81949e89d1 Document lines/cols in user_info 2010-03-17 10:44:16 -04:00
Todd C. Miller
f0f803e337 Mention in the conversation function section that a newline is
not implicit.
2010-03-11 17:02:23 -05:00
Todd C. Miller
07bf968c4d Document -D level command line flag which maps to the debug_level setting. 2010-02-24 07:48:53 -05:00
Todd C. Miller
9eb3e63c56 Document debug_level in plugin doc. Still need to document the -D
flag in sudo itself.
2010-02-24 06:35:45 -05:00
Todd C. Miller
bcd021da5e Rename plugin.pod -> sudo_plugin.pod and wire into Makefile 2010-02-21 21:24:20 -05:00