Commit Graph

224 Commits

Author SHA1 Message Date
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
Todd C. Miller
8104a5f131 now sets sudo_pw_ent 1995-11-21 02:40:22 +00:00
Todd C. Miller
9de4fd5450 updated version number 1995-11-19 23:37:15 +00:00
Todd C. Miller
5d8180011d now warn if chown(2) failed 1995-11-16 08:05:44 +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
211361a5f0 don't include malloc.h if we include stdlib.h 1995-09-13 21:17:06 +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
99464ee08b added dummy netgr_matches function 1995-07-25 00:02:05 +00:00
Todd C. Miller
6115fb5d48 added void casts where appropriate 1995-06-15 03:41:25 +00:00
Todd C. Miller
5047747d5e moved signal handler setup to setup_signals() 1995-05-02 03:34:07 +00:00
Todd C. Miller
7ab29f4c75 Exit was being used in places where exit should be used 1995-04-10 23:49:33 +00:00
Todd C. Miller
36fec1269b ntwk_matches -> addr_matches 1995-04-07 23:48:23 +00:00
Todd C. Miller
1441214145 removed extraneous extern decl of "top 1995-04-06 20:16:01 +00:00
Todd C. Miller
4e6307fdcd now zeros "top" 1995-04-06 20:14:08 +00:00
Todd C. Miller
3c033eac15 now includes fcntl.h 1995-03-31 22:27:59 +00:00
Todd C. Miller
e281c20f4e bzero -> memset 1995-03-30 02:47:38 +00:00
Todd C. Miller
c589157438 now do an freopen() of the stmp file so that yyin will always point
to the same thing.  This is important for flex since we are
doing a YY_NEWFILE
1995-03-29 22:22:20 +00:00
Todd C. Miller
485c9e6edc now include ctype.h for islower and tolower macros 1995-03-28 05:49:00 +00:00
Todd C. Miller
348eb2c3ea whatnow_help was prototyped to be static be was not declared as such 1995-03-28 04:40:44 +00:00
Todd C. Miller
d5752237af now iincludes signal.h 1995-03-27 22:04:19 +00:00
Todd C. Miller
6876438abf whatnow() now gives help on invalid input 1995-03-27 20:01:19 +00:00
Todd C. Miller
7c7ea0252b added a whatnow() function (sort of like mh) 1995-03-27 19:54:53 +00:00
Todd C. Miller
c56ec5dbcf rewrote from scratch based on 4.3BSD vipw.c 1995-03-27 18:26:36 +00:00
Todd C. Miller
fd341dbde4 now works correctly with utk parser 1995-03-26 06:12:30 +00:00
Todd C. Miller
5b042113ed added back host, user, cmnd, parse_error 1995-03-24 19:43:59 +00:00
Todd C. Miller
846f554a46 added in utk changes plus some minor cosmetic changes 1995-03-24 19:19:14 +00:00
Todd C. Miller
10b323c364 use YY_NEW_FILE, not yyrestart since OSF flex doesn't do the righ
thing wrt yyrestart (grrrr)
1995-01-19 00:49:53 +00:00
Todd C. Miller
17f8d74691 now includes options.h 1995-01-11 23:45:55 +00:00
Todd C. Miller
7bd269bd8e now only do Editor +line_num if line_num != 0 1994-12-17 23:18:26 +00:00
Todd C. Miller
5d212959c7 now use mv if rename(2) fails 1994-12-16 02:06:56 +00:00
Todd C. Miller
1249fb564f now copy sudoers to temp file via read/write (not stdio)
now chown new sudoers file to SUDOERS_OWNER
1994-11-10 00:46:21 +00:00
Todd C. Miller
fff477cb85 changed yylineno to sudolineno since yylineno cannot be counted upon. 1994-09-20 22:13:55 +00:00