Commit Graph

2872 Commits

Author SHA1 Message Date
Todd C. Miller
cf2952dd83 Remove some XXX that are no longer relevant. 2001-12-30 18:41:12 +00:00
Todd C. Miller
8dc87eeb22 o Roll our own loop instead of using strpbrk() for better grokability
o When adding to a list we must malloc() and use memcpy(), not strdup()
  since we must only copy len bytes from str.
2001-12-30 18:40:09 +00:00
Todd C. Miller
53320cadda regen 2001-12-21 21:49:28 +00:00
Todd C. Miller
ac4aa81153 typo in comment 2001-12-21 21:49:05 +00:00
Todd C. Miller
b961b88af4 checkpoint 2001-12-19 16:50:22 +00:00
Todd C. Miller
7ceda8c9bd regen 2001-12-19 15:56:56 +00:00
Todd C. Miller
83c2e51bad avoid the -g flag unless --with-devel was specified 2001-12-19 15:56:47 +00:00
Todd C. Miller
e69dc38fd1 mkdefaults, def_data.in and sigaction.c were missing from the tarball 2001-12-19 15:04:46 +00:00
Todd C. Miller
21de57f549 def_data.c was missing 2001-12-19 14:46:05 +00:00
Todd C. Miller
087f5a7d56 Fix setting of $USER and $LOGNAME in the non-reset_env case.
Also allow HOME, SHELL, LOGNAME, and USER to be specified in keep_env
2001-12-18 17:42:37 +00:00
Todd C. Miller
fdae7ed9da Another TODO item 2001-12-18 01:48:51 +00:00
Todd C. Miller
2403f24a2b Add comment for Default section so folks know where it should go. 2001-12-18 00:50:06 +00:00
Todd C. Miller
0cc2362d4c Use TCSETAF, not TCSETA to set terminal in termio case 2001-12-17 23:56:47 +00:00
Todd C. Miller
a459e6a31d regen from sudoers.pod 2001-12-17 23:35:57 +00:00
Todd C. Miller
9a33007630 o Typo, Runas_User_List should be Runas_List
o a User_List can not contain a uid
 o mention that the Defaults section should come after Alias
   definitions but before the user specifications
2001-12-17 23:33:47 +00:00
Todd C. Miller
b42400d77d regen 2001-12-15 16:51:28 +00:00
Todd C. Miller
16912179e5 Fix listpw and verifypw sections, they were not being formatted properly. 2001-12-15 16:51:11 +00:00
Todd C. Miller
df7144394c regen 2001-12-15 16:39:51 +00:00
Todd C. Miller
d24eac7fd2 fix typos 2001-12-15 16:38:21 +00:00
Todd C. Miller
b4b65750ec regen 2001-12-15 15:57:06 +00:00
Todd C. Miller
313bbae1d3 use AC_SYS_POSIX_TERMIOS instead of rolling our own 2001-12-15 15:57:03 +00:00
Todd C. Miller
f3970677ce Reference sudo.ws not courtesan.com 2001-12-15 15:33:43 +00:00
Todd C. Miller
8dd7527bd1 Add notes on shadow passwords 2001-12-15 15:29:57 +00:00
Todd C. Miller
81a4d81f81 In list mode (sudo -l), characters escaped with a backslash
are shown verbatim with the backslash.
2001-12-15 05:48:06 +00:00
Todd C. Miller
c953644f64 Add simple examples from OpenBSD (Marc Espie) 2001-12-15 05:44:06 +00:00
Todd C. Miller
540ba42877 Catch SIGTTIN and SIGTTOU too and treat them like SIGTSTP. 2001-12-15 05:40:12 +00:00
Todd C. Miller
a4e9f7cffd minor prettyification 2001-12-15 02:53:20 +00:00
Todd C. Miller
4c587ba66d Updated change log 2001-12-15 02:43:28 +00:00
Todd C. Miller
b083b9f925 Fix CIDR handling here too. 2001-12-15 02:27:17 +00:00
Todd C. Miller
79df2fa423 Apparently a NULL response is OK 2001-12-15 02:21:53 +00:00
Todd C. Miller
1e1e65807f Checkpoint for upcoming beta release 2001-12-15 02:19:28 +00:00
Todd C. Miller
4450b82c87 Many people believe that adding a runas spec should obviate the need
for the -u flag.  It does not.
2001-12-15 02:17:14 +00:00
Todd C. Miller
a138852ead checkpoint update for upcoming 1.6.4 beta 2001-12-15 02:11:03 +00:00
Todd C. Miller
7be0cd14ae o Add HAVE_STDLIB_H and HAVE_MEMORY_H
o Define HAVE_STRINGS_H even if HAVE_STRING_H is defined -- this is safe now
2001-12-15 01:44:10 +00:00
Todd C. Miller
22d04a60b8 Add signals section 2001-12-15 01:07:13 +00:00
Todd C. Miller
ab70cc89b8 regen 2001-12-15 01:00:45 +00:00
Todd C. Miller
947573dbea Fix check for sigaction_t 2001-12-15 01:00:38 +00:00
Todd C. Miller
afe8333fc2 XXX - should call find_path() as runas user, not root. Can't do
that until the parser changes though.
2001-12-15 00:45:13 +00:00
Todd C. Miller
cfadcb1733 If find_path() fails as root, try again as the invoking user (useful
for NFS).  Idea from Chip Capelik.
2001-12-15 00:38:06 +00:00
Todd C. Miller
3dc5439c2c Regenerate after pod file changes 2001-12-15 00:28:34 +00:00
Todd C. Miller
761b119e2e Add new sudoers option "preserve_groups". Previously sudo would not
call initgroups() if the target user was root.  Now it always calls
initgroups() unless the -P command line option or the "preserve_groups"
sudoers option is set.  Idea from TJ Saunders.
2001-12-15 00:24:27 +00:00
Todd C. Miller
66d801055c Use new HAVE_SIGACTION_T define 2001-12-14 23:38:31 +00:00
Todd C. Miller
3d723eda82 Fix compilation on K&C 2001-12-14 23:33:38 +00:00
Todd C. Miller
82a1cba52c regen 2001-12-14 23:14:47 +00:00
Todd C. Miller
1f20e80b96 Add check for sigaction_t -- IRIX already defines this so don't redefine it. 2001-12-14 23:14:36 +00:00
Todd C. Miller
b3a5ef5b76 fix typo 2001-12-14 22:15:56 +00:00
Todd C. Miller
3b925f81a2 need stdlib.h here too 2001-12-14 22:12:39 +00:00
Todd C. Miller
df5df978db regen 2001-12-14 20:31:33 +00:00
Todd C. Miller
06461973d7 Remove redundant checks for string.h, strings.h and unistd.h 2001-12-14 20:31:27 +00:00
Todd C. Miller
5d0b523ae3 Regen from pod files 2001-12-14 20:29:19 +00:00