Todd C. Miller
3da8d74b0a
removed an XXX (fixed it in getspwuid.c)
1996-02-05 02:59:21 +00:00
Todd C. Miller
1714849acd
changed an occurrence of Argv to NewArgv
1996-02-02 04:53:59 +00:00
Todd C. Miller
e06c19bbb9
now uses NewArgv amd NewArgc so cmnd_aegs is no longer needed
...
this also allows us to eliminate some kludges in parse_args()
and eliminate superfluous code.
1996-02-02 03:34:21 +00:00
Todd C. Miller
35622b80c1
fixed SECURE_PATH
1996-01-15 16:34:23 +00:00
Todd C. Miller
813ac511d2
++version
1996-01-14 20:19:56 +00:00
Todd C. Miller
a90d2d478e
++version
1996-01-09 17:52:49 +00:00
Todd C. Miller
6846377706
++version
1995-12-18 03:09:49 +00:00
Todd C. Miller
206899d1dd
now copy command args directly from Argv
1995-12-11 22:09:10 +00:00
Todd C. Miller
0e9f9c7a40
replaced code to copy cmnd_args so that is does not use realloc since
...
most realloc()'s really stink
1995-12-11 20:55:15 +00:00
Todd C. Miller
1d04bad9ca
added set of parens and a space
1995-12-06 00:02:13 +00:00
Todd C. Miller
d7716e975e
added explict casts for strdup since many includes don't prototype
...
it. gag me.
1995-11-25 18:53:22 +00:00
Todd C. Miller
9f8332a190
added prototype for sudo_getpwuid()
1995-11-25 18:23:40 +00:00
Todd C. Miller
3ff093bde6
now include pthread.h for DCE support
1995-11-24 05:39:28 +00:00
Todd C. Miller
d6a223e2a2
now uses user_pw_ent and simple macros to get at the contents
1995-11-24 02:27:27 +00:00
Todd C. Miller
9dcee68e50
now uses sudo_pw_ent
1995-11-21 03:01:28 +00:00
Todd C. Miller
9de4fd5450
updated version number
1995-11-19 23:37:15 +00:00
Todd C. Miller
e3f95518c2
more people use _RLD_ than just alphas...
1995-11-19 15:47:50 +00:00
Todd C. Miller
621d42205c
now deal with situations where we getwd() fails
1995-11-19 00:17:31 +00:00
Todd C. Miller
6475d4378e
added missing set_perms()
...
no more cryptic message if the sudoers file is zero length,
now just give a parse error
1995-11-16 07:54:33 +00:00
Todd C. Miller
8285802f24
check_sudoers() now catches sudoers files that are not readable
...
(but are stat'able).
1995-11-16 07:41:35 +00:00
Todd C. Miller
96be725f35
options.h is now <> instead of "" so shadow build trees can
...
have a custom copy of options.h
1995-11-13 05:16:38 +00:00
Todd C. Miller
3003b4109d
unset the KRB_CONF envariable if using kerberos so we don't get
...
spoofed into using a bogus server
1995-10-30 20:51:18 +00:00
Todd C. Miller
5d691e1c47
removed unused variable
...
now passes -Wall
1995-09-23 20:48:48 +00:00
Todd C. Miller
211361a5f0
don't include malloc.h if we include stdlib.h
1995-09-13 21:17:06 +00:00
Todd C. Miller
dff189d000
if SHELL_IF_NO_ARGS is set, "sudo -- foo" now runs a shell
...
and passes along foo as the arguments
1995-09-10 01:00:24 +00:00
Todd C. Miller
cc1ab5b5b6
fixed a typo that caused commands with no tty on fd 0 but a tty
...
on fd 1 to erroneously have "none" as their tty
1995-09-09 00:51:49 +00:00
Todd C. Miller
33de10d52d
now only strip '/dev/' off of a tty if it starts with '/dev/'
1995-09-03 18:12:24 +00:00
Todd C. Miller
589f1d6263
moved tty stuff into sudo.c
1995-09-02 02:25:17 +00:00
Todd C. Miller
eaf845fd2c
fixed comments
1995-09-01 04:50:07 +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
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
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
fee6ecbf07
fixed loading of cmnd_args (was including command name too)
1995-08-14 03:35:43 +00:00
Todd C. Miller
f82ab3e8c0
now sets cmnd_args used by log_error() and that will be used
...
by the parse to check against command args
1995-08-13 04:32:19 +00:00
Todd C. Miller
8219db9617
added -s (shell) option
...
made MODE_* masks so we can do bitwise & and | to see if multiple
flags are set.
1995-07-31 02:36:43 +00:00
Todd C. Miller
dd9a165145
rewrote clean_env() that has rm_env() builtin
1995-07-24 22:07:56 +00:00
Todd C. Miller
e70f526da5
now uses MAX_UID_T_LEN
1995-07-23 21:48:30 +00:00
Todd C. Miller
6555548e42
added a set of parens
1995-07-18 03:19:56 +00:00
Todd C. Miller
9b176c01ec
SPW_AUTH -> SPW_SECUREWARE
1995-07-17 18:30:32 +00:00
Todd C. Miller
8e002084a2
now uses SHADOW_TYPE define
1995-07-17 04:20:57 +00:00
Todd C. Miller
4c67e31d95
now check to see that st_dev is non-zero before assuming that we
...
are being spoofed
1995-06-23 00:25:06 +00:00
Todd C. Miller
b122474e4b
added anti-spoofing support
1995-06-15 04:47:59 +00:00
Todd C. Miller
42b3a170e3
fixed problem with "-p prompt" but no args
1995-06-15 03:27:40 +00:00
Todd C. Miller
d3e338f2fa
validate() now takes a flag
...
added -l
1995-06-14 08:43:13 +00:00
Todd C. Miller
337897e2d8
added prompt support
...
reworked parse_args()
1995-06-08 01:27:08 +00:00
Todd C. Miller
c60704dcce
added -b option
1995-06-03 23:34:06 +00:00
Todd C. Miller
a2ec4c76dd
getcwd() -> getwd()
1995-05-08 03:13:42 +00:00
Todd C. Miller
aaa41e678c
moved load_interfaces to interfaces.c
1995-05-02 03:33:38 +00:00
Todd C. Miller
e991fcfa70
now remove IFS instead of setting to "sane" value
1995-05-02 02:47:33 +00:00
Todd C. Miller
431c0a7e5e
added Andy's new ISC changes
1995-04-30 00:15:10 +00:00