Commit Graph

2881 Commits

Author SHA1 Message Date
Todd C. Miller
24995ea370 Checkpoint 2001-12-31 17:19:24 +00:00
Todd C. Miller
9a78f6e759 o Add pam_prep_user function to call pam_setcred() for the target user;
on Linux this often sets resource limits.
o When calling pam_end(), try to convert the auth->result to a PAM_FOO
  value.  This is a hack--we really need to stash the last PAM_FOO
  value received and use that instead.
2001-12-31 17:18:12 +00:00
Todd C. Miller
a55e6898e1 o Add pam_prep_user function to call pam_setcred() for the target user;
on Linux this often sets resource limits.
2001-12-31 17:18:05 +00:00
Todd C. Miller
705c4c7515 Fix off by one error in number of bytes allocated via malloc (does not
affected any released version of sudo).
2001-12-31 05:53:23 +00:00
Todd C. Miller
8aa5f6850e regen 2001-12-30 22:12:17 +00:00
Todd C. Miller
5d5c6783d9 Allow '@', '(', ')', ':' in arguments to a defaults variable
w/o requiring that they be quoted.
2001-12-30 22:12:06 +00:00
Todd C. Miller
412819b40a Mention that no double quotes are needed when adding/deleting/assigning
a single value to a list.
2001-12-30 19:26:22 +00:00
Todd C. Miller
e69a33b472 Don't rely on mkdefaults being executable, call perl explicitly. 2001-12-30 18:58:34 +00:00
Todd C. Miller
e86de64967 regen 2001-12-30 18:45:41 +00:00
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