1999-08-26 09:19:00 +00:00
|
|
|
TODO list (most will be addressed in sudo 2.0)
|
1993-11-27 23:48:09 +00:00
|
|
|
|
1996-08-25 17:27:01 +00:00
|
|
|
01) Redo parsing to be more like op(8) with true command aliases where
|
1994-02-25 21:04:25 +00:00
|
|
|
can specify uid, gid(s) and part/all of the environment.
|
1994-02-28 04:27:30 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
02) Add a SHELLS reserved word that checks against /etc/shells.
|
1994-08-05 22:35:56 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
03) Make the sudoers file accessible via NIS, Hesiod, and maybe NetInfo.
|
1994-08-13 21:16:28 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
04) Add a -h (?) flag to sudo for a history mechanism.
|
1994-08-31 23:52:59 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
05) Add an option to set LD_LIBRARY_PATH?
|
1994-08-31 23:52:59 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
06) Add Prog_Alias facility (Prog_Alias VI = /usr/secure/bin/vi +args).
|
1994-09-01 19:55:05 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
07) check for <net/errno.h> in configure and include it in sudo.c if it exists.
|
1995-03-29 00:36:09 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
08) Add generic STREAMS support for getting interfaces and netmasks.
|
1995-03-29 00:36:09 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
09) Add support for "safe scripts" by checking for shell script
|
1996-01-14 20:25:06 +00:00
|
|
|
cookie (first two bytes are "#!") and execing the shell outselves
|
|
|
|
after doing the stat to guard against spoofing. This should avoid
|
|
|
|
the race condition caused by going through namei() twice...
|
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
10) Overhaul testsudoers to use things from parse.o so we don't reimplement
|
1999-08-26 09:19:00 +00:00
|
|
|
things.
|
1996-06-15 22:11:56 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
11) Make runas_user a struct "runas" with user and group components.
|
1999-08-26 09:19:00 +00:00
|
|
|
(maybe uid and gid too???)
|
1996-06-15 22:11:56 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
12) Add -g group/gid option.
|
1996-06-15 22:11:56 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
13) Should be able to mix Cmnd_Alias's and command args. Ie:
|
1996-11-16 19:42:46 +00:00
|
|
|
pete ALL=PASSWD [A-z]*,!PASSWD root
|
|
|
|
where PASSWD was defined to be /usr/bin/passwd.
|
|
|
|
This requires the arg parsing to happen in the yacc grammer.
|
1999-08-26 09:19:00 +00:00
|
|
|
At the very least, commands and args have to become separate
|
|
|
|
tokens in the lexer.
|
1998-01-13 05:00:39 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
14) Add a per-tty restriction? Ie: only can run foo from /dev/console.
|
1998-09-15 02:02:20 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
15) Add test for how to read ether interfaces in configure script
|
1998-09-15 02:02:20 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
16) Add configure check for $(CC) -R and use it in addition to -L
|
1999-01-18 01:49:34 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
17) An option to make "sudo -s" use the target user's shell might be nice
|
|
|
|
(and more like su). Overlaps with the upcoming -i option.
|
1999-08-07 11:46:39 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
18) Add configure option to enable old behavior of visudo (O_EXCL)?
|
1999-08-26 09:19:00 +00:00
|
|
|
--without-sudoers-lock?
|
1999-08-07 11:46:39 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
19) Profile sudo again (is the yacc grammar optimal?)
|
1999-08-26 09:19:00 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
20) Zero out encrypted passwords after use. Use an Exit function or
|
1999-08-26 09:19:00 +00:00
|
|
|
some such (have to hook in to emalloc() and friends).
|
|
|
|
Hard (impossible?) to be thorough w/ atexit/on_exit.
|
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
21) Make 'sudo -l user' if run as root do a "sudo -l" output for the specified
|
1999-08-26 09:19:00 +00:00
|
|
|
user.
|
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
22) Use strtol() and strtoul(), not atoi()
|
|
|
|
|
|
|
|
23) In parse.yacc get rid of unneeded '{ ; }'
|
|
|
|
|
|
|
|
24) Look into %e, %p, %k in parse.lex
|
|
|
|
|
|
|
|
25) Make syslog stuff work on vanilla ultrix
|
|
|
|
|
|
|
|
26) Implement date_format and log_format options.
|
|
|
|
|
|
|
|
27) Add support for: Default:user@host
|
1999-09-08 08:06:28 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
28) Do login-style -sh hack for sudo -s? (new option or do it always?)
|
1999-09-08 08:06:28 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
29) Make visudo rcs-aware
|
1999-09-15 09:15:33 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
30) Add support for parsing multiple sudoers files. Basically make
|
|
|
|
_PATH_SUDOERS be a colon-separated list of pathname like EDITOR.
|
|
|
|
Requires _PATH_SUDOERS_TMP chages (perhaps "%s.tmp").
|
1999-10-07 21:21:08 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
31) Add -i (simulate initial login) option as per 946 +sudo
|
|
|
|
(requires two-pass parser). Also add "default_path" Defaults option
|
|
|
|
to go with it. (See MINUS_I.patch)
|
1999-10-07 21:21:08 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
32) Some people want to be able to specify a special password in sudoers
|
|
|
|
in addition or instead of the normal one.
|
1999-10-11 15:55:11 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
33) Add support for trusted users. E.g. allow user to run a certain
|
|
|
|
command regardless of what dir it is in if it is owned by the
|
|
|
|
trusted user.
|
1999-11-16 05:28:45 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
34) Add mechanism to choose logfile based on RunasUser
|
2000-03-23 04:41:29 +00:00
|
|
|
|
2001-12-15 02:19:28 +00:00
|
|
|
35) Split the parser into two stages. The first parse checks for
|
|
|
|
syntax and sets the Defaults options and sets up the
|
|
|
|
data structures to check a user. The second stage does
|
|
|
|
the actual user check.
|
2001-12-18 01:48:51 +00:00
|
|
|
|
|
|
|
36) Add a flag similar to '-l' but that spits out sudo commands in
|
|
|
|
a format suitable for cut & paste (requires parser overhaul first).
|