Commit Graph

1497 Commits

Author SHA1 Message Date
Todd C. Miller
085fbf8222 don't yell too loudly at non-sudoers if they do "sudo -l" 1996-08-15 19:47:01 +00:00
Todd C. Miller
740d2166e0 fixed thinko 1996-08-15 19:46:45 +00:00
Todd C. Miller
8c35fa2ec6 fix comment 1996-08-15 19:46:04 +00:00
Todd C. Miller
4fb2f4ca9a added support for new `sudo -l' stuff 1996-08-09 22:07:51 +00:00
Todd C. Miller
236019c889 now uses list_matches() 1996-08-09 22:06:53 +00:00
Todd C. Miller
8d4d6aebfc added struct sudo_match 1996-08-09 22:06:40 +00:00
Todd C. Miller
f85cd6de22 now more -lgnumalloc 1996-08-09 21:37:08 +00:00
Todd C. Miller
8db0946c71 added more paths for chown and whoami 1996-08-01 17:12:46 +00:00
Todd C. Miller
8e1ce2143c typo 1996-07-31 14:41:28 +00:00
Todd C. Miller
73ef239034 fixed DUNIX check for shadow pw 1996-07-30 17:45:44 +00:00
Todd C. Miller
bdfd25e871 now only turn off echo if it is already on. this fixes a race
when you use sudo in a pipelin
1996-07-30 17:41:59 +00:00
Todd C. Miller
9e058b7c26 updated 1996-07-30 16:53:18 +00:00
Todd C. Miller
5126cd2392 changed "test -z $foo && do_this" to if; then construct 1996-07-30 02:29:58 +00:00
Todd C. Miller
731bf90ae5 added missing defines of SHADOW_TYPE 1996-07-29 02:47:06 +00:00
Todd C. Miller
fb89ade3e0 protect AUTH_CRYPT_OLDCRYPT and AUTH_CRYPT_C1CRYPT since they
are only in dunix 4.x
1996-07-26 18:10:42 +00:00
Todd C. Miller
b7670208d2 added AUTH_CRYPT_C1CRYPT support 1996-07-26 18:09:00 +00:00
Todd C. Miller
89784f6556 no longer return VALIDATE_NOT_OK if there was a runas that didn't
match.  Now we can have runas stuff on more than one line.
1996-07-26 17:23:40 +00:00
Todd C. Miller
e7999949e4 use SHADOW_TYPE instead of HAVE_C2_SECURITY 1996-07-26 03:46:42 +00:00
Todd C. Miller
b543114b06 got rid of HAVE_C2_SECURITY
SHADOW_TYPE is always defined to something
1996-07-26 03:45:27 +00:00
Todd C. Miller
69b1a0b423 removed HAVE_C2_SECURITY
added SPW_BSD
1996-07-26 03:45:08 +00:00
Todd C. Miller
f9d2f89231 use SHADOW_TYPE instead of HAVE_C2_SECURITY 1996-07-26 03:44:48 +00:00
Todd C. Miller
f5da2ecd9e SHADOW_TYPE is always defined so just against its value 1996-07-26 03:44:13 +00:00
Todd C. Miller
f13ef276c5 added SUDO_CHECK_SHADOW_DUNIX 1996-07-26 03:44:04 +00:00
Todd C. Miller
c809dd70ca * -> ?* in one example
added another instance of (runas)
and one of NOPASSWD:
1996-07-25 22:47:50 +00:00
Todd C. Miller
7fea014bce added back check for config.cache from other host type 1996-07-24 17:02:18 +00:00
Todd C. Miller
c5752f7b68 removed an instance of \" 1996-07-24 16:49:43 +00:00
Todd C. Miller
2db4117238 added an example 1996-07-24 16:49:18 +00:00
Todd C. Miller
48a1af2dc0 updated wrt new wildcard matching 1996-07-24 16:44:13 +00:00
Todd C. Miller
f089b9ae6c new check for shadow passwords if we don't know anything 1996-07-24 14:28:33 +00:00
Todd C. Miller
228a2ffa79 new SUDO_CHECK_SHADOW_GENERIC 1996-07-24 14:28:22 +00:00
Todd C. Miller
f25c6bb6b0 added back check for -lsocket (oops) 1996-07-24 06:19:16 +00:00
Todd C. Miller
73c39341f2 better (working) check for shadow passwd type if we know to
use C2.
1996-07-24 06:16:23 +00:00
Todd C. Miller
db9dddd2a9 now uses AC_CANONICAL_HOST to figure out os type 1996-07-24 05:59:28 +00:00
Todd C. Miller
859753c600 added config.{guess,sub} 1996-07-24 05:59:02 +00:00
Todd C. Miller
36b9dafdfe removed unused stuff to figure out os type 1996-07-24 05:58:32 +00:00
Todd C. Miller
a656b61237 added openbsd 1996-07-24 02:58:07 +00:00
Todd C. Miller
216889be98 Initial revision 1996-07-24 02:54:46 +00:00
Todd C. Miller
d588e771e5 Initial revision 1996-07-24 02:40:06 +00:00
Todd C. Miller
09c9f7ed92 don't call fnmatch() with FNM_PATHNAME flag unless it can only
be a pathname.
need to check against sudoers_args even if user_args is nil
1996-07-24 01:18:55 +00:00
Todd C. Miller
d7ae14e4d7 don't call fnmatch() with FNM_PATHNAME flag unless it can only
be a pathname
need to check against sudoers_args even if user_args is nil
1996-07-24 01:18:01 +00:00
Todd C. Miller
b380c0adef added support for AUTH_CRYPT_OLDCRYPT w/ DUNIX C2 1996-07-23 22:52:52 +00:00
Todd C. Miller
27386f12f2 now takes command line args and uses cmnd_args 1996-07-23 05:18:10 +00:00
Todd C. Miller
4dba5f4fcc fill_args was adding an extra leading space 1996-07-23 05:10:35 +00:00
Todd C. Miller
945d9795ef fixed dummy command_matches() 1996-07-22 19:50:59 +00:00
Todd C. Miller
efb526bb25 fixed prototype 1996-07-22 19:50:42 +00:00
Todd C. Miller
7fb14dd3fe added cmnd_args 1996-07-22 19:31:16 +00:00
Todd C. Miller
f62d59e927 now uses flat args string 1996-07-22 19:31:04 +00:00
Todd C. Miller
8a177073ef now uses flat arg string 1996-07-22 19:30:42 +00:00
Todd C. Miller
27d484f3f0 added cmnd_args def 1996-07-22 19:29:53 +00:00
Todd C. Miller
bd641284ae now sets cmnd_args global 1996-07-22 18:30:51 +00:00