Todd C. Miller
993b7e5ecc
fixed incorrect #ifdef
...
termio uses "unsigned short" not int for c_?flag
1995-09-03 18:09:40 +00:00
Todd C. Miller
f3268e58e9
fixed a spelling error
1995-09-03 17:19:51 +00:00
Todd C. Miller
963dd0e358
fixed typo
1995-09-03 17:17:17 +00:00
Todd C. Miller
7c6446141e
fixed a comment
1995-09-02 16:55:40 +00:00
Todd C. Miller
4b39028f9d
added dotcat() to cat 2 strings w/ a dot effeciently
...
now that we dynamically allocate strings they need to be free()'d
1995-09-02 16:54:22 +00:00
Todd C. Miller
bc5adec095
dynamically allocates space for strings
1995-09-02 16:46:45 +00:00
Todd C. Miller
0ee5536652
no more MAXCOMMANDLENGTH
1995-09-02 16:34:48 +00:00
Todd C. Miller
57d9cb9bf1
added decl of tty
1995-09-02 02:25:24 +00:00
Todd C. Miller
589f1d6263
moved tty stuff into sudo.c
1995-09-02 02:25:17 +00:00
Todd C. Miller
184dac958a
fixed a logic bug. Was denying a command if user gave command
...
line args but there were none in the sudoers file which is wrong.
1995-09-01 18:18:32 +00:00
Todd C. Miller
24df673d9d
MAXCOMMMANDLEN dropped down to 1K
1995-09-01 05:18:19 +00:00
Todd C. Miller
0df5364cae
return foo; -> return(foo);
1995-09-01 05:13:23 +00:00
Todd C. Miller
8e59f998d9
fixed netgr_matches() prototype
1995-09-01 05:03:27 +00:00
Todd C. Miller
dde7f11130
added support for escaping "termination" characters
1995-09-01 05:02:04 +00:00
Todd C. Miller
4fb87b2fa2
buf is now of size MAXPATHLEN+1 since it never holds command args
1995-09-01 04:55:34 +00:00
Todd C. Miller
eaf845fd2c
fixed comments
1995-09-01 04:50:07 +00:00
Todd C. Miller
d47330a7b3
fixed negation problem (doh!)
1995-09-01 04:49:48 +00:00
Todd C. Miller
08719aef14
fixed 2nd parameter to lfind()
1995-09-01 04:25:17 +00:00
Todd C. Miller
023afc59e3
now do bounds checking in fill() and append()
1995-09-01 04:24:52 +00:00
Todd C. Miller
57e17e71d1
include netdb.h as we should
...
added a missing void cast
added SHELL_IF_NO_ARGS support
now use realloc() properly. would fail if realloc actually moved
the string instead of shrinking it
1995-09-01 04:23:19 +00:00
Todd C. Miller
035886c880
updated with examples of new features
1995-09-01 04:17:42 +00:00
Todd C. Miller
3cf3a02c9a
now set errno to EACCES if not a regular file or not executable
1995-09-01 04:05:55 +00:00
Todd C. Miller
a7b14880ab
if given a fully-qualified or relative path we now check it
...
with sudo_goodpath() and error out with the appropriate error
message if the file does not exist or is not executable
1995-09-01 04:04:43 +00:00
Todd C. Miller
f55ea664c4
now use correct args for lfind
1995-09-01 04:03:56 +00:00
Todd C. Miller
0c690ddb86
added a comment
1995-09-01 04:03:32 +00:00
Todd C. Miller
7785f5aa87
added in CSOps insults
1995-09-01 03:52:32 +00:00
Todd C. Miller
6c57ab6f92
Initial revision
1995-09-01 03:51:53 +00:00
Todd C. Miller
38169ba0b4
added RCS id
1995-09-01 03:35:50 +00:00
Todd C. Miller
23c90d7761
increased MAXCOMMANDLENGTH to 8k
...
HAVE_GETCWD -> HAVE_GETWD
1995-09-01 02:56:08 +00:00
Todd C. Miller
43b4dfd76c
added CLASSIC_INSULTS, CSOPS_INSULTS, SHELL_IF_NO_ARGS
1995-09-01 02:55:40 +00:00
Todd C. Miller
eb742282be
fixed -k
...
load_interfaces() now gets called if FQDN is set
-p now works with -s
1995-09-01 02:54:48 +00:00
Todd C. Miller
ffbade1541
don't try to stat() "pseudo commands" like "validate"
1995-09-01 02:54:08 +00:00
Todd C. Miller
ed57e2a47e
added CLASSIC_INSULTS
...
added CSOPS_INSULTS
added SHELL_IF_NO_ARGS
1995-09-01 02:53:36 +00:00
Todd C. Miller
2c45ad3a64
added SecurID support
...
added other insults to --with-csops
1995-09-01 02:53:07 +00:00
Todd C. Miller
9460142f76
added HAVE_SECURID
1995-09-01 02:52:57 +00:00
Todd C. Miller
f66ada0348
added clobber target
...
added ins_csops.h
now gets CFLAGS from configure
1995-09-01 02:52:22 +00:00
Todd C. Miller
6059ab5049
relaxed SUDO_FULL_VOID
1995-09-01 02:46:10 +00:00
Todd C. Miller
85d528d355
function comment blocks are now in same style as rest of code
1995-09-01 02:44:54 +00:00
Todd C. Miller
6ae45fad7b
added support for command line args in /etc/sudoers
1995-09-01 02:44:18 +00:00
Todd C. Miller
489923b344
updated to have command args in the sudoers file
1995-09-01 02:43:35 +00:00
Todd C. Miller
2cd2d10e2a
added -s and -- flags
...
added SHELL to ENVIRONMENT VARIABLES section
1995-09-01 02:42:45 +00:00
Todd C. Miller
30215484cb
PATH renamed to COMMAND
1995-08-19 23:32:04 +00:00
Todd C. Miller
cda9b243cb
it is now a parse error for directories to have args attached to them
1995-08-19 23:31:35 +00:00
Todd C. Miller
723998be9c
now say command args if telling user to buzz off
1995-08-19 23:30:56 +00:00
Todd C. Miller
b79d33a5b1
-s no longer indicates end of args
...
sped up loading on cmnd_args in load_cmnd()
1995-08-19 23:30:03 +00:00
Todd C. Miller
e5101444c4
removed an unreachable statement
1995-08-19 23:29:42 +00:00
Todd C. Miller
ed0730ba03
made more efficient by pulling out the terminators when in
...
GOTCMND state and making them their own rule
1995-08-19 21:53:38 +00:00
Todd C. Miller
35d4d8e6bd
removed MAXLOGLEN since it is no longer used
1995-08-14 04:07:45 +00:00
Todd C. Miller
35d2f76b14
now allows command args
1995-08-14 04:07:15 +00:00
Todd C. Miller
564533bc75
now groks command arguments
1995-08-14 04:06:27 +00:00