2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-02 23:35:36 +00:00
Commit Graph

12322 Commits

Author SHA1 Message Date
Todd C. Miller
8a4a51a4b6 updated 1995-04-01 08:12:27 +00:00
Todd C. Miller
25dbadf297 updated for pl5b1 release 1995-04-01 06:54:08 +00:00
Todd C. Miller
012deffa17 updated 1995-04-01 06:53:59 +00:00
Todd C. Miller
f650082b1d fixed bug where if you hit return at first sudo prompt it would
still log as a failure
1995-04-01 06:52:50 +00:00
Todd C. Miller
d6a68fe4a0 updated 1995-04-01 06:29:00 +00:00
Todd C. Miller
af82bb25a1 better test for bogus void * implementation 1995-04-01 06:25:11 +00:00
Todd C. Miller
c1e520bbcf added PASSWORDS_NOT_CORRECT 1995-04-01 01:33:11 +00:00
Todd C. Miller
5bc17e9f8f added PASSWORDS_NOT_CORRECT stuff] 1995-04-01 01:32:51 +00:00
Todd C. Miller
11e4148896 added PASSWORDS_NOT_CORRECT 1995-04-01 01:30:01 +00:00
Todd C. Miller
735be1c0bd moved pathnames.h 1995-04-01 00:16:41 +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
5df37f27d3 moved compat.h 1995-04-01 00:15:41 +00:00
Todd C. Miller
99ae8d306f added pathnames.h 1995-04-01 00:14:56 +00:00
Todd C. Miller
0590d7b648 fixed a typo I introduced in the last checkin :-( 1995-03-31 23:18:57 +00:00
Todd C. Miller
2bc423cab9 can't have #ifdef's where N is defined so just do this the
broken way for AIX
1995-03-31 23:11:44 +00:00
Todd C. Miller
f104cc2dd1 better hack from Chris (but still a hack) 1995-03-31 23:08:15 +00:00
Todd C. Miller
b6331561f5 stupid hack for broken aix lex 1995-03-31 23:05:51 +00:00
Todd C. Miller
d3012dcf02 now includes compat.h

1995-03-31 22:47:32 +00:00
Todd C. Miller
3c033eac15 now includes fcntl.h 1995-03-31 22:27:59 +00:00
Todd C. Miller
0d11b8fd1c added FD_SET and FD_ZERO for 4.2BSD 1995-03-31 22:27:35 +00:00
Todd C. Miller
032a129cf4 dirty hack to fix parser bug. i don't really like this but it works
for now...
1995-03-31 21:12:41 +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
2f417910d0 updated 1995-03-30 04:49:03 +00:00
Todd C. Miller
ec700ab3bc Initial revision 1995-03-30 04:48:50 +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
37966f0dae added entries for new errors 1995-03-30 04:45:57 +00:00
Todd C. Miller
8e89a08f2c now set uid to that of SUDOERS_OWNER while parsing sudoers file 1995-03-30 04:03:49 +00:00
Todd C. Miller
b6b88fea98 took out testsudoers

1995-03-30 03:52:18 +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
2f1773275e reordered AC_CHECK_FUNCS 1995-03-30 03:06:28 +00:00
Todd C. Miller
0d4643159e fixed memset macro 1995-03-30 03:06:12 +00:00
Todd C. Miller
e281c20f4e bzero -> memset 1995-03-30 02:47:38 +00:00
Todd C. Miller
222d260765 bzero -> memset
when a parse error is logged the line number of the error is now logged
too
1995-03-30 02:47:00 +00:00
Todd C. Miller
25d8da8ad2 added Sunos to blurb about c2 security 1995-03-30 02:46:22 +00:00
Todd C. Miller
b5b99e0b3e added a SUN4 define for C2 security 1995-03-30 02:45:17 +00:00
Todd C. Miller
166536d2a3 bcopy -> memmove
bzero -> memset
1995-03-30 02:44:55 +00:00
Todd C. Miller
a5bf165f70 bcopy -> memmove
char * -> VOID *
1995-03-30 02:43:56 +00:00
Todd C. Miller
99af59db47 added support for sunos with C2 security 1995-03-30 02:30:33 +00:00
Todd C. Miller
f45450cf7b reordered 1995-03-30 02:12:57 +00:00
Todd C. Miller
af2bbaf7ca _PATH_SUDO_LOGFILE now set based on configure 1995-03-30 02:12:36 +00:00
Todd C. Miller
40d004931c added SUDO_LOGFILE and SUDO_TYPE_SIZE_T 1995-03-30 02:12:19 +00:00
Todd C. Miller
4bdb9b6fa4 added _SUDO_PATH_LOGFILE 1995-03-30 02:12:07 +00:00
Todd C. Miller
8fcb78602d added SUDO_LOGFILE to find where to put sudo.log
added SUDO_CHECK_TYPE (just AC_CHECK_TYPE but checks unistd.h too)
added SUDO_TYPE_SIZE_T (calls SUDO_CHECK_TYPE)
1995-03-30 02:11:15 +00:00
Todd C. Miller
38b60eebb4 Initial revision 1995-03-29 23:17:38 +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
ba7c8ad185 backed out a change in malloc/realloc 1995-03-29 22:41:35 +00:00
Todd C. Miller
cc47d04a0c now include stdlib.h 1995-03-29 22:38:16 +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
60b17a6821 replaced yywrap() with parser_cleanup() since yywrap() needs to be
in parse.lex to be able to use YY_NEW_FILE.  sigh.
1995-03-29 22:20:35 +00:00