Todd C. Miller
53a38fc560
Some OSes (like Solaris) allow export w/ nosuid too
2003-12-10 03:02:09 +00:00
Todd C. Miller
769b205c00
We don't use FD_ZERO anymore so just define FD_SET (if not already there).
2003-08-12 20:45:22 +00:00
Todd C. Miller
d619fd43a1
Fix a core dump on Solaris by preserving the pam_handle_t we used
...
during authentication for pam_prep_user(). If we didn't authenticate
(ie: ticket still valid), we call pam_init() from pam_prep_user().
This is something of a hack; it may be better to change the auth
API and add an auth_final() function that acts like pam_prep_user().
2003-06-29 01:31:55 +00:00
Todd C. Miller
8cd9f4f1ec
Add explicit declaration of printerr variable in function header
...
(was defaulting to int which is OK but oh so K&R :-). From Theo.
2003-06-21 16:50:56 +00:00
Todd C. Miller
e52feabd48
s/HAVE_STOW/USE_STOW/
2003-06-09 23:00:20 +00:00
Todd C. Miller
27ad285a03
Also exit waitpid() loop when pid == 0. Fixes a problem where the sudo
...
process would spin eating up CPU until sendmail finished when it has
to send mail.
2003-06-09 20:07:56 +00:00
Todd C. Miller
7e53863e55
Remove advertising clause, UCB has disavowed it
2003-05-30 20:22:31 +00:00
Todd C. Miller
bdb69602e2
Remove advertising clause, UCB has disavowed it
2003-05-30 20:22:31 +00:00
Todd C. Miller
40b63be2fc
Don't assume that getgrnam() calls don't modify contents of
...
struct passwd returned by getpwnam(). On FreeBSD w/ NIS this
can happen. Based on a patch from Kirk Webb.
2003-05-22 01:53:01 +00:00
Todd C. Miller
61e7453f8d
missing ;;
2003-05-06 15:25:36 +00:00
Todd C. Miller
8dc823861f
darwin has a broken setreuid() in at least some versions
2003-05-06 04:53:21 +00:00
Todd C. Miller
684f62dd0f
Fix an off by one error when reallocating the environment; Kevin Pye
2003-05-06 04:31:24 +00:00
Todd C. Miller
c917da1ccc
Fix User_Spec definition; SEKINE Tatsuo
2003-04-30 18:04:58 +00:00
Todd C. Miller
04b4026624
More info on the early days from Coggs.
2003-04-28 23:30:32 +00:00
Todd C. Miller
c03ffb1972
remove errant semicolon that prevented compilation under heimdal
2003-04-21 18:47:05 +00:00
Todd C. Miller
4e74e8c530
add DARPA credit on affected files
2003-04-16 00:42:10 +00:00
Todd C. Miller
58db015778
add DARPA credit on affected files
2003-04-16 00:42:10 +00:00
Todd C. Miller
f13528b0b1
add DARPA credit on affected files
2003-04-16 00:42:10 +00:00
Todd C. Miller
69ac0e56c2
add DARPA credit on affected files
2003-04-16 00:42:10 +00:00
Todd C. Miller
58596112cc
add DARPA credit on affected files
2003-04-16 00:42:10 +00:00
Todd C. Miller
a76a79f6d7
add DARPA credit on affected files
2003-04-16 00:42:10 +00:00
Todd C. Miller
505b424a56
add DARPA credit on affected files
2003-04-16 00:42:10 +00:00
Todd C. Miller
8b45d6459c
add DARPA credit on affected files
2003-04-16 00:42:10 +00:00
Todd C. Miller
94567681a7
add DARPA credit on affected files
2003-04-16 00:42:10 +00:00
Todd C. Miller
c6c8c99515
add DARPA credit on affected files
2003-04-16 00:42:09 +00:00
Todd C. Miller
34479303ad
add DARPA credit on affected files
2003-04-16 00:42:09 +00:00
Todd C. Miller
492367bd62
add DARPA credit on affected files
2003-04-16 00:42:09 +00:00
Todd C. Miller
6c51ebd37a
add DARPA credit on affected files
2003-04-16 00:42:09 +00:00
Todd C. Miller
f9b6bdba4c
slightly different wording for the darpa credit
2003-04-16 00:25:42 +00:00
Todd C. Miller
2b7ed974d3
Add DARPA credit
2003-04-15 18:37:26 +00:00
Todd C. Miller
4a2da4c965
Use krb5_princ_component() instead of krb5_princ_realm() for MIT Kerberos
...
like we did before I messed things up ;-)
Use krb5_principal_get_comp_string() to do the same thing w/ Heimdal.
I'm not sure if the component should be 0 or 1 in this case.
#define ENCTYPE_DES_CBC_MD5 ETYPE_DES_CBC_MD5 for Heimdal since
older versions lack ENCTYPE_DES_CBC_MD5. This is gross and there
should be a configure check for this I guess.
2003-04-14 20:49:27 +00:00
Todd C. Miller
86febe03ae
builtin -> built-in; Jason McIntyre
2003-04-13 19:48:15 +00:00
Todd C. Miller
e6ec7f3374
builtin -> built-in; Jason McIntyre
2003-04-13 19:48:15 +00:00
Todd C. Miller
8d146fae79
built in -> built-in; Jason McIntyre
2003-04-13 19:45:52 +00:00
Todd C. Miller
28eca61dd8
checkpoint for 1.6.7p3
2003-04-09 20:14:39 +00:00
Todd C. Miller
6b941870e9
Update info on the early years @ SUNY-Buffalo from Cliff Spencer.
...
Amazingly, sudo source from 1985 is available via groups.google.com
2003-04-09 20:14:10 +00:00
Todd C. Miller
e15de8443d
Don't change rl.rlim_max for RLIMIT_CORE. We need only set rl.rlim_cur
...
to 0 to turn off core dumps. This may be needed for the RLIMIT_CORE
restoration on some OSes.
2003-04-09 20:13:04 +00:00
Todd C. Miller
cfeec138e1
Make this compile on Heimdal and MIT Kerberos 5
2003-04-04 17:46:57 +00:00
Todd C. Miller
fab224f42f
Check for heimdal even if we found krb5-config and define HAVE_HEIMDAL.
2003-04-04 17:45:24 +00:00
Todd C. Miller
d220757146
Replace ETYPE_DES_CBC_MD5 with ENCTYPE_DES_CBC_MD5. The former
...
is no longer defined by MIT kerb5 (though it used to be and indeed
remains so in Heimdal).
2003-04-04 03:04:09 +00:00
Todd C. Miller
941162deb2
Remove newer stuff that passes multiple (possibly duplicate)
...
directories to "mkdir -p" since that seems to break on Tru64 Unix
at least. This basically brings back what shipped with sudo 1.6.6.
2003-04-03 15:16:22 +00:00
Todd C. Miller
58887b76b0
Correct number of args to krb5_principal_get_realm() and fix an unclosed
...
comment that hid the bug.
2003-04-02 18:57:34 +00:00
Todd C. Miller
ce070cdc6f
regen
2003-04-02 18:45:43 +00:00
Todd C. Miller
c184860696
++version
2003-04-02 18:45:35 +00:00
Todd C. Miller
2a37e9d954
++version
2003-04-02 18:45:35 +00:00
Todd C. Miller
12694ed15d
++version
2003-04-02 18:45:35 +00:00
Todd C. Miller
c8459f7d1f
++version
2003-04-02 18:45:35 +00:00
Todd C. Miller
50b48929ce
++version
2003-04-02 18:45:35 +00:00
Todd C. Miller
6cb95ca0bc
++version
2003-04-02 18:45:35 +00:00
Todd C. Miller
539a65cdec
++version
2003-04-02 18:45:35 +00:00