Commit Graph

2234 Commits

Author SHA1 Message Date
Todd C. Miller
ba31293c29 add check for case where there are no auth methods 1999-08-28 09:50:27 +00:00
Todd C. Miller
92e5ebd9f1 Define _XOPEN_EXTENDED_SOURCE on AIX and __USE_FIXED_PROTOTYPES__ on SunOS4 w/ gcc 1999-08-28 09:36:32 +00:00
Todd C. Miller
3a8c0ca966 include strings.h everywhere we include string.h 1999-08-28 09:24:15 +00:00
Todd C. Miller
55e31d781b nicer output when showing auth methods 1999-08-28 09:22:47 +00:00
Todd C. Miller
3de04bb481 Add support for SEND_MAIL_WHEN_NO_HOST 1999-08-28 09:00:07 +00:00
Todd C. Miller
fda4a9709f Add _GNU_SOURCE for Linux 1999-08-28 08:49:08 +00:00
Todd C. Miller
86c1328f6c fix definition of OCTECT 1999-08-28 08:22:27 +00:00
Todd C. Miller
df15b27a09 aix_auth.o not authenticate.o 1999-08-28 08:10:08 +00:00
Todd C. Miller
61bd59c733 Only block SIGINT, SIGQUIT, SIGTSTP (which can be generated from
the keyboard).  Since we run with ruid/euid == 0 the user can't
really signal us in nasty ways.
1999-08-27 21:02:24 +00:00
Todd C. Miller
8fcdf8a300 Don't need to worry about catching too many signals since we do locking
on the tmp file.  If a lockfile is really stale, it will be detected
and overwritten.
1999-08-27 21:01:06 +00:00
Todd C. Miller
24f317e173 include auth/API in tarball 1999-08-27 20:09:30 +00:00
Todd C. Miller
e026a2c24c move memset() of plaintext pw outside of verify loop and only do the
memset if we are *not* in standalone mode.
1999-08-27 20:09:15 +00:00
Todd C. Miller
017a9a0ad6 DCE is not a standalone method 1999-08-27 17:46:54 +00:00
Todd C. Miller
79faf00e5d fix --enable-noargs-shell 1999-08-27 15:53:29 +00:00
Todd C. Miller
54a43740e7 "#ifdef __STDC__" not "#if __STDC__" (I missed one) 1999-08-27 15:06:19 +00:00
Todd C. Miller
c5fc921211 _cleanup() function returns an int. 1999-08-27 14:54:52 +00:00
Todd C. Miller
e061ce62f7 there were still some return(0)'s hanging around, make them AUTH_FAILURE 1999-08-27 14:50:46 +00:00
Todd C. Miller
56f3bf61c1 typo in comment 1999-08-27 14:39:24 +00:00
Todd C. Miller
cff5f9b390 add missing semicolon 1999-08-27 14:03:19 +00:00
Todd C. Miller
b5dca2ab0a missing backslash 1999-08-27 12:31:25 +00:00
Todd C. Miller
359b5be92d Kill _XOPEN_EXTENDED_SOURCE -- causes problems on some OSes 1999-08-26 21:24:50 +00:00
Todd C. Miller
2e4dcff8f0 add parse.h to HDRS 1999-08-26 13:21:31 +00:00
Todd C. Miller
3118b7f865 Kill VISUDO_LIBS and VISUDO_LDFLAGS. Add LIBS, NET_LIBS, and LDFLAGS.
Common libs go in LIBS, commong ld flags go in LDFLAGS and network libs
like -lsocket, -lnsl go in NET_LIBS.  This allows testsudoers to build
on Solaris and is a bit cleaner in general.
1999-08-26 13:16:06 +00:00
Todd C. Miller
a80f9e0fbf mention ptmp -> sudoers.tmp 1999-08-26 10:56:21 +00:00
Todd C. Miller
ff95bb1d77 Define _XOPEN_SOURCE_EXTENDED not _XOPEN_SOURCE 1999-08-26 10:12:46 +00:00
Todd C. Miller
82a59a898b add 2 reports 1999-08-26 09:37:27 +00:00
Todd C. Miller
17f02dfb12 Minor changes, mostly cosmetic. verify_krb_v5_tgt() changed to return a value more like a system function 1999-08-26 09:20:32 +00:00
Todd C. Miller
39c448c714 Add an XXX 1999-08-26 09:19:25 +00:00
Todd C. Miller
21e6a9d16d more things todo! 1999-08-26 09:19:00 +00:00
Todd C. Miller
05a861df1f update based on what is in the man page 1999-08-26 09:18:42 +00:00
Todd C. Miller
2b28160a5d minor change to first line printed in -l mode 1999-08-26 09:10:50 +00:00
Todd C. Miller
e50798ff5b rename "ENVIRONMENT VARIABLES" section to "ENVIRONMENT" to be more standard and add "EXAMPLES" section 1999-08-26 09:10:12 +00:00
Todd C. Miller
575c28def0 rename "ENVIRONMENT VARIABLES" section to "ENVIRONMENT" to be more standard 1999-08-26 09:08:31 +00:00
Todd C. Miller
a2b3e36e73 add FLAG_NO_CHECK 1999-08-26 09:06:41 +00:00
Todd C. Miller
ca1b945b36 make an OCTET really be limited to 0-255 1999-08-26 09:05:57 +00:00
Todd C. Miller
e89b9ff18f mention timestamp changes 1999-08-26 09:04:59 +00:00
Todd C. Miller
5d5133d4cc cosmetic cleanup 1999-08-26 09:04:45 +00:00
Todd C. Miller
7a84959b41 new sudoers(8) man page 1999-08-26 09:00:59 +00:00
Todd C. Miller
d661d1d66f Update comments about syslog name tables 1999-08-24 17:45:05 +00:00
Todd C. Miller
0d38bef9a7 include strcasecmp() for those without it 1999-08-24 17:37:38 +00:00
Todd C. Miller
1a5da52c7b Use the : operator some more and fix a typo 1999-08-24 16:43:37 +00:00
Todd C. Miller
f4f46ff024 update the history of sudo 1999-08-24 16:43:17 +00:00
Todd C. Miller
8723291d89 CIDR-style netmask support 1999-08-24 16:42:28 +00:00
Todd C. Miller
3781e9d410 recent changes 1999-08-24 16:41:46 +00:00
Todd C. Miller
25d75cea68 these should be generated with byacc, not bison 1999-08-24 16:40:58 +00:00
Todd C. Miller
7b0368f2f4 regen 1999-08-24 16:40:23 +00:00
Todd C. Miller
51350b2c79 In "sudo -l" mode, the type of the stored (expanded) alias was not
stored with the contents.  This could lead to incorrect output
if the sudoers file had different alias types with the same name.
Normal parsing (ie: not in '-l' mode) is unaffected.
1999-08-24 15:58:39 +00:00
Todd C. Miller
ba358d6d51 define _XOPEN_SOURCE to get at crypt() proto on some systems 1999-08-23 16:47:42 +00:00
Todd C. Miller
8b3c8d5c75 fix comment 1999-08-22 17:10:20 +00:00
Todd C. Miller
db4cac1740 don't need limits.h 1999-08-22 17:09:49 +00:00