Todd C. Miller
0d732401f4
add 4th term to license similar to term 5 in the apache license
1999-07-31 16:19:50 +00:00
Todd C. Miller
c7fd99aa54
BSD-style copyright. Move parser-specific defines and structs into parse.h + other cosmetic changes
1999-07-22 12:51:18 +00:00
Todd C. Miller
26be17a3d6
Add contribution info in the main comment
1999-07-12 10:25:14 +00:00
Todd C. Miller
80287c981c
Move interface-related defines to interfaces.h so we don't have to include
...
<netinet/in.h> everywhere.
1999-05-17 01:36:30 +00:00
Todd C. Miller
06e586ee7b
Function names should be flush with the start of the line so they can be found trivially in an editor and with grep
1999-04-10 04:49:03 +00:00
Todd C. Miller
eecc5ce1c9
free(3) is already void, no need to cast it
1999-04-10 04:40:57 +00:00
Todd C. Miller
e6deacb6c4
Crank version to 1.6 and combine copyright statements
1999-04-05 20:57:25 +00:00
Todd C. Miller
4f6f75ae35
Make runas and NOPASSWD tags persistent across entris in a command list.
...
Add a PASSWD tag to reverse NOPASSWD. When you override a runas or *PASSWD
tag the value given becomes the new default for the rest of the command list.
1999-04-05 20:28:16 +00:00
Todd C. Miller
79c46d1c81
++version
1999-03-29 04:05:15 +00:00
Todd C. Miller
382ef75493
Use emalloc/erealloc/estrdup
1999-03-29 02:59:34 +00:00
Todd C. Miller
736359ccea
Fix a bug wrt quoting characters in command args. Stop processing an arg when you hit a backslash so the quoted-character detection can catch it.
1999-03-07 23:34:31 +00:00
Todd C. Miller
52916f16ac
add explicate copyright
1999-02-03 04:32:19 +00:00
Todd C. Miller
826fe213f2
add sudo tags
1999-01-17 23:16:20 +00:00
Todd C. Miller
d3aaf52283
crank version and regen files
1999-01-17 22:40:55 +00:00
Todd C. Miller
62dba8f4d1
more -Wall
1998-11-18 04:16:13 +00:00
Todd C. Miller
c253188f55
-Wall
1998-11-18 03:51:10 +00:00
Todd C. Miller
5bfb481ca7
no more options.h
1998-10-15 05:41:26 +00:00
Todd C. Miller
0ef9f25d7e
updated version
1998-09-17 16:27:15 +00:00
Todd C. Miller
e1a6b1fec2
include sudo.tab.h, not y.tab.h
...
don't break out of command args if you get a '='
1998-09-07 03:09:49 +00:00
Todd C. Miller
12477fd6e6
updated version
1998-04-06 03:35:50 +00:00
Todd C. Miller
e37e1e56b6
updated version
1998-03-31 05:05:49 +00:00
Todd C. Miller
c866646cdf
updated version
1998-02-18 21:39:31 +00:00
Todd C. Miller
2fc787d5f6
updated version
1998-02-17 02:43:17 +00:00
Todd C. Miller
bc7803cd08
updated version
1998-02-06 20:49:24 +00:00
Todd C. Miller
efbcdfe829
updated version
1998-01-21 06:56:41 +00:00
Todd C. Miller
bb6a33e080
updated version
1998-01-21 05:50:58 +00:00
Todd C. Miller
166789a1dd
++version
1998-01-13 04:48:42 +00:00
Todd C. Miller
5e723efe75
++version
1996-11-14 02:37:56 +00:00
Todd C. Miller
156e7dbe2a
allow trailing space after '\\' but before '\n'
1996-11-14 00:04:30 +00:00
Todd C. Miller
add3e8df21
Add Runas_Alias and simplify a rule.
1996-11-11 01:02:32 +00:00
Todd C. Miller
b0248f15df
++version
1996-10-07 05:07:09 +00:00
Todd C. Miller
de10f92819
allow logins to start with a number (YUCK!)
1996-09-10 04:18:57 +00:00
Todd C. Miller
6a230806a8
courtesan
1996-09-08 00:21:42 +00:00
Todd C. Miller
d189849b44
++version
1996-08-30 00:37:04 +00:00
Todd C. Miller
35825133a7
++version
1996-08-17 23:25:40 +00:00
Todd C. Miller
c5752f7b68
removed an instance of \"
1996-07-24 16:49:43 +00:00
Todd C. Miller
4dba5f4fcc
fill_args was adding an extra leading space
1996-07-23 05:10:35 +00:00
Todd C. Miller
8a177073ef
now uses flat arg string
1996-07-22 19:30:42 +00:00
Todd C. Miller
10e0e119ae
NOPASSWD may now have blanks before the ':'
...
'(' only starts a 'runas' if in the initial state to avoid
collision with command args
1996-07-20 04:45:22 +00:00
Todd C. Miller
f66eb18a5d
added support for net_addr/netmask
1996-06-17 04:02:33 +00:00
Todd C. Miller
99e16a5a25
now use :foo: character classes (makes no diff for generated lexer)
1996-06-09 02:57:51 +00:00
Todd C. Miller
60f30dc2f0
make #uid work + some minor cleanup
1996-04-28 19:01:02 +00:00
Todd C. Miller
32002b7d97
added support for NO_PASSWD and runas from garp@opustel.com
1996-04-28 00:59:21 +00:00
Todd C. Miller
b4a7b0b3b5
added double quote support
1996-04-06 21:31:29 +00:00
Todd C. Miller
0a31e88baf
FQHOST now has same constraints as non-FQHOST
1996-04-03 18:36:13 +00:00
Todd C. Miller
182cb02be3
added FQHOST rules
1996-03-19 22:00:22 +00:00
Todd C. Miller
500ae8269c
took out support for quoted commands since there is no need...
1996-02-02 04:53:24 +00:00
Todd C. Miller
2b003ffa89
replaced append() with fill_cmnd() and fill_args. command args
...
from a sudoers entry are now stored in an arrary for easy
matching.
1996-02-02 03:30:05 +00:00
Todd C. Miller
216ca11a05
added support for quoted commands (w/ or w/o args)
1996-01-28 22:55:32 +00:00
Todd C. Miller
d58db6c2c4
++version
1996-01-14 20:16:01 +00:00