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 |
|
Todd C. Miller
|
d562e7ff71
|
fixed indentation
|
1995-04-13 17:54:17 +00:00 |
|
Todd C. Miller
|
52b6b6965b
|
updated ISC mods
|
1995-04-13 17:19:59 +00:00 |
|
Todd C. Miller
|
0869c2a39a
|
now sets SUDO_COMMAND and SUDO_GID envariables.
|
1995-04-09 21:04:57 +00:00 |
|
Todd C. Miller
|
050ca432ac
|
now sets removes # bogus interfaces from num_interfaces
|
1995-04-09 02:27:05 +00:00 |
|
Todd C. Miller
|
aa03cdc831
|
took out debugging info
|
1995-04-07 19:08:17 +00:00 |
|
Todd C. Miller
|
ec1c2e69e2
|
fixed loading of interfaces struct
still has debugging info in though
|
1995-04-07 03:30:53 +00:00 |
|
Todd C. Miller
|
911605896d
|
removed some unused vars and fixed up uid2str
|
1995-04-01 00:16:02 +00:00 |
|
Todd C. Miller
|
f4e9cea285
|
uid2str is now static like the prototype says
|
1995-03-31 21:12:17 +00:00 |
|
Todd C. Miller
|
086c511947
|
check_sudoers now returns an error code and sudo calls inform_user
and log_error based on the return value.
|
1995-03-30 04:46:16 +00:00 |
|
Todd C. Miller
|
838882502a
|
now explicately checks that it is setuid root
|
1995-03-30 03:36:55 +00:00 |
|
Todd C. Miller
|
a0b01e062b
|
If a user has no passwd entry sudo would segv (writing to a garbage pointer).
Now allocate space before writing :-)
|
1995-03-30 03:28:48 +00:00 |
|
Todd C. Miller
|
fe19bcc7c1
|
now do set_perms(PERM_ROOT) before the getpwuid() in load_global()
to work around a problem is trusted hpux shadow passwords. yuck.
|
1995-03-29 22:59:47 +00:00 |
|
Todd C. Miller
|
22c7d31a5f
|
took out -l
|
1995-03-29 13:16:48 +00:00 |
|
Todd C. Miller
|
4e29c4d3f1
|
moved a set of parens
|
1995-03-28 05:48:30 +00:00 |
|
Todd C. Miller
|
40fbed9036
|
removed ocmnd
|
1995-03-26 06:33:05 +00:00 |
|
Todd C. Miller
|
175390b58b
|
find_path() changed since no more realpath()
|
1995-03-26 06:19:20 +00:00 |
|
Todd C. Miller
|
ba61aad4a4
|
elinated compiler warning
|
1995-03-26 02:56:35 +00:00 |
|
Todd C. Miller
|
37aafbf098
|
added void casts for printf's
|
1995-03-24 19:18:09 +00:00 |
|
Todd C. Miller
|
b9f7c72dd8
|
changed setegid -> setgid
|
1995-02-17 04:31:06 +00:00 |
|
Todd C. Miller
|
ee8a3a4402
|
added ocmnd declaration
adjusted for find_path()'s new parameters
|
1995-01-16 21:36:02 +00:00 |
|
Todd C. Miller
|
5318438a04
|
move the include of id.h to compat.h
now includes options.h
|
1995-01-13 17:46:21 +00:00 |
|
Todd C. Miller
|
be3b8f8067
|
added mips & isc support
|
1994-11-10 00:49:53 +00:00 |
|
Todd C. Miller
|
8dc58160a8
|
be_* -> setperms()
now check to make sure sudoers file is owned by root nread/write by only
root
|
1994-11-08 01:38:57 +00:00 |
|
Todd C. Miller
|
efdad527cc
|
now sets IFS
|
1994-10-21 17:16:33 +00:00 |
|
Todd C. Miller
|
6b069fabe7
|
now bail if ARgv[1] > MAXPATHLEN
|
1994-10-04 16:56:40 +00:00 |
|
Todd C. Miller
|
410f21dd76
|
added code for -l flag
|
1994-09-20 21:36:32 +00:00 |
|
Todd C. Miller
|
525954e1b2
|
changed sudo-bugs.cs.colorado.edu -> sudo-bugs@cs.colorado.ed
|
1994-09-02 19:54:28 +00:00 |
|
Todd C. Miller
|
5d04e3eafb
|
added set_auth_parameters for osf
|
1994-09-01 17:38:55 +00:00 |
|
Todd C. Miller
|
4c19411fc6
|
changed setenv() to sudo_setenv()
|
1994-09-01 17:15:07 +00:00 |
|
Todd C. Miller
|
6174554533
|
use sizeof instead of a constant in 1 place
|
1994-08-30 22:30:17 +00:00 |
|
Todd C. Miller
|
23c2416e0a
|
added sys/time.h for AIX
|
1994-08-16 19:46:08 +00:00 |
|