Commit Graph

155 Commits

Author SHA1 Message Date
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
59b0cff8cf Stash the "safe" path (ie: the one listed in sudoers) to the command instead
of stashing the struct stat.  Should be safer.
1999-04-10 04:10:01 +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
a234aee2c6 Shift return value of system(3) by 8 to get real exit value and if it is not 1 or 0 print the retval along with the error message. 1999-04-02 21:02:57 +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
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
e68f156aca add RUNAS_DEFAULT 1998-09-08 00:42:02 +00:00
Todd C. Miller
ae7a8f4978 fix some fprintf args, ariel@oz.engr.sgi.com (Ariel Faigon) 1998-05-02 18:16:03 +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
0c362fb216 updated version 1998-01-21 06:33:06 +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
82654611c3 catch the case where the user is not in the passwd file 1997-11-23 18:28:09 +00:00
Todd C. Miller
5e723efe75 ++version 1996-11-14 02:37:56 +00:00
Todd C. Miller
75704661b1 buffer oflow checking
q (uit) -> Q
if yyparse() fails drop into whatnow
1996-11-14 00:21:35 +00:00
Todd C. Miller
df20cedfc1 now warns if killed by signal
./
1996-11-12 16:58:35 +00:00
Todd C. Miller
4b6e45e639 deal with case where there is no sudoers file 1996-10-30 23:04:02 +00:00
Todd C. Miller
b0248f15df ++version 1996-10-07 05:07:09 +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
81bdc0aa1f now do chmod and chown after edit of temp file and before rename 1996-08-22 18:00:46 +00:00
Todd C. Miller
35825133a7 ++version 1996-08-17 23:25:40 +00:00
Todd C. Miller
d10ba268d8 now uses init_parser() 1996-08-17 22:29:04 +00:00
Todd C. Miller
945d9795ef fixed dummy command_matches() 1996-07-22 19:50:59 +00:00
Todd C. Miller
27d484f3f0 added cmnd_args def 1996-07-22 19:29:53 +00:00
Todd C. Miller
f3cdb9aa39 fixed a comment 1996-06-06 19:35:57 +00:00
Todd C. Miller
8263fc99d5 runas_user is now initialized to "root" 1996-04-28 21:20:29 +00:00
Todd C. Miller
aa92ab8df5 added support for "runas" from garp@opustel.com
replaced SUDOERS_OWNER with SUDOERS_UID, SUDOERS_GID
added support for SUDOERS_MODE
1996-04-28 01:03:30 +00:00
Todd C. Miller
058a58a501 now uses shost even if not FQDN 1996-03-11 19:05:55 +00:00
Todd C. Miller
56df3dd851 now uses shost if FQDN 1996-03-11 01:15:08 +00:00
Todd C. Miller
845ee30d76 unixware vi returns 256 instead of 0 1996-02-04 21:36:17 +00:00
Todd C. Miller
1151a4bfdb path_matches -> command_matches 1996-02-04 21:09:56 +00:00
Todd C. Miller
6002abd998 now works with new sudo arg stuff 1996-02-02 06:14:46 +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
7617fde666 added group support 1995-12-18 02:51:30 +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