Commit Graph

1640 Commits

Author SHA1 Message Date
Todd C. Miller
ab9b352455 commands can start with ./* not just /* -- fixes a serious security hole. 1998-01-13 04:10:08 +00:00
Todd C. Miller
07e09b16f2 Don't set the tty variable to NULL when we lack a tty, leave it as
"unknown".
1997-12-21 23:17:48 +00:00
Todd C. Miller
687434bc96 fix usage of (username) in conjunction with , and ! 1997-11-23 18:29:24 +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
ea498e61d3 use fileno(input) + 1 instead of getdtablesize() as the nfds arg to select(2) 1997-11-23 18:24:31 +00:00
Todd C. Miller
4b4e2b7929 define tty global to an initial value to avoid dumping core in logging
functions when passwd file is unavailable.
1997-11-23 06:53:37 +00:00
Todd C. Miller
ff05eaccfa do the set_perms(PERM_USER, sudo_mode) after we have gotten the passwd entry 1997-11-23 06:51:49 +00:00
Todd C. Miller
52fb34f921 talk about problem of ALL 1997-11-23 05:21:20 +00:00
Todd C. Miller
c035f8e809 new web location 1997-10-10 04:54:50 +00:00
Todd C. Miller
ad6df9f511 fdesc bug is fixed in Open/Net BSD 1997-10-10 04:54:00 +00:00
Todd C. Miller
ce0fc83332 updates from Nieusma 1997-10-10 04:52:47 +00:00
Todd C. Miller
671e941d5f move compat.h after the system includes 1997-10-09 22:37:07 +00:00
Todd C. Miller
b5f54d7740 save errno from being clobbered by wait(). From Theo 1997-08-06 18:58:06 +00:00
Todd C. Miller
8b28002ef3 fix an occurence of setresuid -> setreuid (typo) 1997-05-21 15:57:26 +00:00
Todd C. Miller
abeaf95238 check for path to strip 1997-03-19 22:45:02 +00:00
Todd C. Miller
0caa3cc557 deal with maxfilelen < 0 case 1997-01-16 00:05:55 +00:00
Todd C. Miller
f842ab526b fixed descriptin 1997-01-16 00:05:23 +00:00
Todd C. Miller
b0192afc35 correct error message if mode/owner wrong and not statable by owner
but is statable by root.
1996-12-12 04:10:19 +00:00
Todd C. Miller
294b7f4965 autoconf 2.11 1996-11-23 07:18:24 +00:00
Todd C. Miller
a36ba7b5cc sudo 1.5.3. 1996-11-16 19:42:46 +00:00
Todd C. Miller
23b2719a37 command_alias -> generic_alias 1996-11-14 20:09:12 +00:00
Todd C. Miller
33f9387f3a added Runas_Alias example and fixed syntax errors 1996-11-14 03:50:55 +00:00
Todd C. Miller
e5b84ec225 updated MAILSUBJECT 1996-11-14 03:50:03 +00:00
Todd C. Miller
773ec24a37 added %h expansion 1996-11-14 03:49:50 +00:00
Todd C. Miller
5e723efe75 ++version 1996-11-14 02:37:56 +00:00
Todd C. Miller
30da32917e ++version 1996-11-14 01:02:22 +00:00
Todd C. Miller
ca6a440b95 document Runas_Alias 1996-11-14 00:45:07 +00:00
Todd C. Miller
f7a75a2a49 q (uid) -> Q 1996-11-14 00:22:22 +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
7e737b38e8 add size params to sprintf 1996-11-14 00:05:21 +00:00
Todd C. Miller
156e7dbe2a allow trailing space after '\\' but before '\n' 1996-11-14 00:04:30 +00:00
Todd C. Miller
aa54c845ed off by one error in path size check 1996-11-14 00:04:11 +00:00
Todd C. Miller
6798768867 sprintf paranoia 1996-11-14 00:03:53 +00:00
Todd C. Miller
fcb212ea8f fixed more_aliases 1996-11-12 16:59:02 +00:00
Todd C. Miller
df20cedfc1 now warns if killed by signal
./
1996-11-12 16:58:35 +00:00
Todd C. Miller
8336c86cb4 fix Runas_Alias stuff
Alias's in runas list now get expanded (but it is gross)
1996-11-11 15:49:11 +00:00
Todd C. Miller
b317dc70ac Can now deal with SUDOERS_UID == 0 and SUDOERS_MODE == 0400 1996-11-11 01:32:33 +00:00
Todd C. Miller
ec7e187376 add Runas_Alias support
change FOO to FOO_ALIAS (ie: USER_ALIAS)
1996-11-11 01:08:22 +00:00
Todd C. Miller
add3e8df21 Add Runas_Alias and simplify a rule. 1996-11-11 01:02:32 +00:00
Todd C. Miller
894ef0be76 always store User_Alias's since they can be used inside of a runas list. Sigh. Really need a Runas_Alias instead. 1996-11-11 00:15:21 +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
6108f1b1ae added one 1996-10-12 03:01:34 +00:00
Todd C. Miller
413f869078 developement -> development 1996-10-11 02:11:43 +00:00
Todd C. Miller
e933c66797 added a note 1996-10-11 02:08:44 +00:00
Todd C. Miller
96baceed20 for 1.5.2 1996-10-11 00:36:40 +00:00
Todd C. Miller
a5e9569ef0 updated 1996-10-11 00:36:31 +00:00
Todd C. Miller
efd201c57b removed seteuid() notes 1996-10-10 04:56:38 +00:00
Todd C. Miller
873346d184 better seteuid() emulatino 1996-10-09 17:37:18 +00:00
Todd C. Miller
c7a278dd9b added check for seteuid 1996-10-09 17:36:56 +00:00
Todd C. Miller
142136af0d added HAVE_SETEUID 1996-10-09 17:36:47 +00:00