]> granicus.if.org Git - sudo/log
sudo
15 years agofix K&R compilation
Todd C. Miller [Wed, 11 Mar 2009 23:01:10 +0000 (23:01 +0000)]
fix K&R compilation

15 years agoregen
Todd C. Miller [Wed, 11 Mar 2009 16:12:20 +0000 (16:12 +0000)]
regen

15 years agoAdd missing HAVE_BSM_AUDIT
Todd C. Miller [Tue, 10 Mar 2009 21:34:08 +0000 (21:34 +0000)]
Add missing HAVE_BSM_AUDIT

15 years agoAdd 1.7.1 features
Todd C. Miller [Tue, 10 Mar 2009 21:21:45 +0000 (21:21 +0000)]
Add 1.7.1 features

15 years agoMention --with-netsvc
Todd C. Miller [Tue, 10 Mar 2009 21:10:06 +0000 (21:10 +0000)]
Mention --with-netsvc

15 years agoDocument netsvc.conf support
Todd C. Miller [Tue, 10 Mar 2009 21:08:18 +0000 (21:08 +0000)]
Document netsvc.conf support

15 years agoAdd support for AIX netsvc.conf (like nsswitch.conf).
Todd C. Miller [Tue, 10 Mar 2009 20:44:05 +0000 (20:44 +0000)]
Add support for AIX netsvc.conf (like nsswitch.conf).

15 years agoAdd --enable-env-debug flag to enable environment sanity checks.
Todd C. Miller [Sun, 8 Mar 2009 20:57:01 +0000 (20:57 +0000)]
Add --enable-env-debug flag to enable environment sanity checks.

15 years agoWork around some pod2html issue.
Todd C. Miller [Sun, 8 Mar 2009 15:51:01 +0000 (15:51 +0000)]
Work around some pod2html issue.

15 years agoOnly sync environ for putenv, setenv, and unsetenv. We need to make
Todd C. Miller [Sat, 7 Mar 2009 22:10:44 +0000 (22:10 +0000)]
Only sync environ for putenv, setenv, and unsetenv.  We need to make
sure that sudo_putenv and sudo_setenv only modify env.envp, not environ.

15 years agoReally fix UNSETENV_VOID
Todd C. Miller [Mon, 2 Mar 2009 19:19:35 +0000 (19:19 +0000)]
Really fix UNSETENV_VOID

15 years agoFix unsetenv when UNSETENV_VOID
Todd C. Miller [Mon, 2 Mar 2009 19:18:35 +0000 (19:18 +0000)]
Fix unsetenv when UNSETENV_VOID

15 years agoFix SUDO_FUNC_PUTENV_CONST
Todd C. Miller [Mon, 2 Mar 2009 13:00:37 +0000 (13:00 +0000)]
Fix SUDO_FUNC_PUTENV_CONST

15 years agotivoli-based ldap does not have ldapssl_err2string
Todd C. Miller [Mon, 2 Mar 2009 12:36:06 +0000 (12:36 +0000)]
tivoli-based ldap does not have ldapssl_err2string

15 years agoregen
Todd C. Miller [Mon, 2 Mar 2009 12:30:16 +0000 (12:30 +0000)]
regen

15 years agoAdd support for Tivoli-based LDAP start TLS as seen in AIX. Untested.
Todd C. Miller [Sun, 1 Mar 2009 21:20:37 +0000 (21:20 +0000)]
Add support for Tivoli-based LDAP start TLS as seen in AIX.  Untested.

15 years agoAdd sanity checks for setenv/unsetenv
Todd C. Miller [Sun, 1 Mar 2009 13:52:28 +0000 (13:52 +0000)]
Add sanity checks for setenv/unsetenv

15 years agoInclude bsm_audit.h in the tarball
Todd C. Miller [Sun, 1 Mar 2009 01:17:25 +0000 (01:17 +0000)]
Include bsm_audit.h in the tarball

15 years agobump version for sudo 1.7.1
Todd C. Miller [Sun, 1 Mar 2009 01:00:28 +0000 (01:00 +0000)]
bump version for sudo 1.7.1

15 years agoReplace sudo_setenv/sudo_unsetenv with calls to setenv/unsetenv and
Todd C. Miller [Sun, 1 Mar 2009 00:58:41 +0000 (00:58 +0000)]
Replace sudo_setenv/sudo_unsetenv with calls to setenv/unsetenv and
provide our own setenv/unsetenv/putenv that operates on own env pointer.
Make sync_env() inline in setenv/unsetenv/putenv functions.

15 years agoMake "sudoedit -h" work as expected
Todd C. Miller [Wed, 25 Feb 2009 12:33:11 +0000 (12:33 +0000)]
Make "sudoedit -h" work as expected

15 years agoMake sure def_prompt is always defined. This is a workaround for
Todd C. Miller [Wed, 25 Feb 2009 12:21:11 +0000 (12:21 +0000)]
Make sure def_prompt is always defined.  This is a workaround for
pam configs that prompt for a password in the session but don't
have an auth line.  A better fix is to expand the sudo prompt earlier
and set def_prompt to that when initializing.

15 years agoMention that the helper for -A may be graphical.
Todd C. Miller [Wed, 25 Feb 2009 11:17:26 +0000 (11:17 +0000)]
Mention that the helper for -A may be graphical.

15 years agoDocument what happens if there is no tty.
Todd C. Miller [Wed, 25 Feb 2009 11:16:54 +0000 (11:16 +0000)]
Document what happens if there is no tty.

15 years agocosmetic changes
Todd C. Miller [Wed, 25 Feb 2009 11:05:01 +0000 (11:05 +0000)]
cosmetic changes

15 years agoFix term_restore
Todd C. Miller [Wed, 25 Feb 2009 10:47:12 +0000 (10:47 +0000)]
Fix term_restore

15 years agoFix "sudo -k" with no other args
Todd C. Miller [Wed, 25 Feb 2009 01:23:07 +0000 (01:23 +0000)]
Fix "sudo -k" with no other args

15 years agoAllow the -k flag to be specified in conjunction with a command or
Todd C. Miller [Tue, 24 Feb 2009 13:04:39 +0000 (13:04 +0000)]
Allow the -k flag to be specified in conjunction with a command or
another option that may require authentication.

15 years agoRemove unneeded AC_CANONICAL_TARGET; from Diego E. 'Flameeyes'
Todd C. Miller [Mon, 23 Feb 2009 14:18:46 +0000 (14:18 +0000)]
Remove unneeded AC_CANONICAL_TARGET; from Diego E. 'Flameeyes'

15 years agoParallel make fix. From Diego E. 'Flameeyes'
Todd C. Miller [Mon, 23 Feb 2009 14:15:29 +0000 (14:15 +0000)]
Parallel make fix.  From Diego E. 'Flameeyes'

15 years agoImplement umask_override
Todd C. Miller [Sat, 21 Feb 2009 22:03:47 +0000 (22:03 +0000)]
Implement umask_override

15 years agoregen
Todd C. Miller [Sat, 21 Feb 2009 21:51:42 +0000 (21:51 +0000)]
regen

15 years agoImplement %h escape in sudoers include filenames.
Todd C. Miller [Sat, 21 Feb 2009 21:49:19 +0000 (21:49 +0000)]
Implement %h escape in sudoers include filenames.

15 years agoNeed to include compat.h
Todd C. Miller [Sat, 21 Feb 2009 13:43:27 +0000 (13:43 +0000)]
Need to include compat.h

15 years agoMake audit_success and audit_failure generic functions in preparation
Todd C. Miller [Sat, 21 Feb 2009 13:37:47 +0000 (13:37 +0000)]
Make audit_success and audit_failure generic functions in preparation
for integrating linux audit support.

15 years agoremove duplicate include
Todd C. Miller [Sat, 21 Feb 2009 13:06:34 +0000 (13:06 +0000)]
remove duplicate include

15 years agoAdd missing include
Todd C. Miller [Fri, 20 Feb 2009 21:13:32 +0000 (21:13 +0000)]
Add missing include

15 years agoMay need to update the runas user after parsing command-based defaults.
Todd C. Miller [Fri, 20 Feb 2009 20:55:32 +0000 (20:55 +0000)]
May need to update the runas user after parsing command-based defaults.

15 years agoAdd missing pair of braces introduced with character class support.
Todd C. Miller [Wed, 18 Feb 2009 15:53:38 +0000 (15:53 +0000)]
Add missing pair of braces introduced with character class support.

15 years agoRename pwstars to pwfeedback
Todd C. Miller [Sun, 15 Feb 2009 20:53:49 +0000 (20:53 +0000)]
Rename pwstars to pwfeedback

15 years agoAdd const to make MacOS happy.
Todd C. Miller [Wed, 11 Feb 2009 01:25:27 +0000 (01:25 +0000)]
Add const to make MacOS happy.

15 years agoAdd bsm audit support from Christian S.J. Peron
Todd C. Miller [Wed, 11 Feb 2009 01:18:02 +0000 (01:18 +0000)]
Add bsm audit support from Christian S.J. Peron

15 years agoThis is new code, no DARPA notice.
Todd C. Miller [Wed, 11 Feb 2009 00:58:17 +0000 (00:58 +0000)]
This is new code, no DARPA notice.

15 years agoRename simple_glob -> fast_glob
Todd C. Miller [Tue, 10 Feb 2009 19:04:02 +0000 (19:04 +0000)]
Rename simple_glob -> fast_glob

15 years agog/c unused var
Todd C. Miller [Tue, 10 Feb 2009 14:39:15 +0000 (14:39 +0000)]
g/c unused var

15 years agoAdd simple_glob option to use fnmatch() instead of glob(). This is
Todd C. Miller [Tue, 10 Feb 2009 13:09:14 +0000 (13:09 +0000)]
Add simple_glob option to use fnmatch() instead of glob().  This is
useful when you need to specify patterns that reference network file
systems.

15 years agoadd term_* proto
Todd C. Miller [Tue, 10 Feb 2009 12:58:08 +0000 (12:58 +0000)]
add term_* proto

15 years agomention glob()
Todd C. Miller [Tue, 10 Feb 2009 12:51:20 +0000 (12:51 +0000)]
mention glob()

15 years agoDelete any pwstars we wrote after the user hits return. That way
Todd C. Miller [Mon, 9 Feb 2009 12:59:39 +0000 (12:59 +0000)]
Delete any pwstars we wrote after the user hits return.  That way
there is no record on screen as to the user's password length.

15 years agoMove terminal setting bits from tgetpass.c to term.c
Todd C. Miller [Sun, 8 Feb 2009 15:27:51 +0000 (15:27 +0000)]
Move terminal setting bits from tgetpass.c to term.c

15 years agoAdd pwstars sudoers option that causes sudo to print a star every
Todd C. Miller [Sun, 8 Feb 2009 00:50:48 +0000 (00:50 +0000)]
Add pwstars sudoers option that causes sudo to print a star every
time the user presses a key.

15 years agoFix up F<> brokenness for visudo.man.in and sudoers.ldap.man.in.
Todd C. Miller [Tue, 3 Feb 2009 15:10:43 +0000 (15:10 +0000)]
Fix up F<> brokenness for visudo.man.in and sudoers.ldap.man.in.

15 years agoFor ldap_search_ext_s() the sizelimit param should be 0, not -1, to
Todd C. Miller [Tue, 27 Jan 2009 16:54:23 +0000 (16:54 +0000)]
For ldap_search_ext_s() the sizelimit param should be 0, not -1, to
indicate no limit.  From Mark Janssen.

16 years agoComments that begin with #- should not be parsed as uids.
Todd C. Miller [Sat, 17 Jan 2009 22:36:09 +0000 (22:36 +0000)]
Comments that begin with #- should not be parsed as uids.

16 years agoDo not try to set the close on exec flag if we didn't actually open sudoers.
Todd C. Miller [Fri, 9 Jan 2009 00:13:37 +0000 (00:13 +0000)]
Do not try to set the close on exec flag if we didn't actually open sudoers.

16 years agoregen SUDO_1_7_0
Todd C. Miller [Fri, 19 Dec 2008 17:40:39 +0000 (17:40 +0000)]
regen

16 years agosync
Todd C. Miller [Sun, 14 Dec 2008 22:40:11 +0000 (22:40 +0000)]
sync

16 years agoReturn PAM_AUTH_ERR instead of PAM_CONV_ERR if user enters ^C at the
Todd C. Miller [Tue, 9 Dec 2008 23:48:19 +0000 (23:48 +0000)]
Return PAM_AUTH_ERR instead of PAM_CONV_ERR if user enters ^C at the
password prompt.

16 years agoDon't try to build sudo_noexec.so on HP-UX with the bundled compiler as
Todd C. Miller [Tue, 9 Dec 2008 21:13:02 +0000 (21:13 +0000)]
Don't try to build sudo_noexec.so on HP-UX with the bundled compiler as
it cannot generate shared objects.

16 years agoK&R compilation fixes
Todd C. Miller [Tue, 9 Dec 2008 20:55:50 +0000 (20:55 +0000)]
K&R compilation fixes

16 years agoUse tq_foreach_fwd when checking pseudo-commands to make it clear that
Todd C. Miller [Tue, 9 Dec 2008 13:49:55 +0000 (13:49 +0000)]
Use tq_foreach_fwd when checking pseudo-commands to make it clear that
we are not short-circuiting on last match.  When pwcheck is 'all',
initialize nopass to TRUE and override it with the first non-TRUE entry.

16 years agoDo not short circuit pseudo commands when we get a match since, depending
Todd C. Miller [Mon, 8 Dec 2008 15:02:07 +0000 (15:02 +0000)]
Do not short circuit pseudo commands when we get a match since, depending
on the settings, we may need to examine all commands for tags.

16 years agoregen
Todd C. Miller [Wed, 3 Dec 2008 20:58:41 +0000 (20:58 +0000)]
regen

16 years agohostnames may also contain wildcards
Todd C. Miller [Wed, 3 Dec 2008 20:57:13 +0000 (20:57 +0000)]
hostnames may also contain wildcards

16 years agoremove stamp-* files and linux core files in clean target
Todd C. Miller [Wed, 3 Dec 2008 20:40:47 +0000 (20:40 +0000)]
remove stamp-* files and linux core files in clean target

16 years agoUse HAVE_SIA_SES_INIT instead of HAVE_SIA for Digital UNIX
Todd C. Miller [Tue, 2 Dec 2008 17:30:39 +0000 (17:30 +0000)]
Use HAVE_SIA_SES_INIT instead of HAVE_SIA for Digital UNIX

16 years agocorrectly enable SIA on Digital UNIX
Todd C. Miller [Wed, 26 Nov 2008 20:10:23 +0000 (20:10 +0000)]
correctly enable SIA on Digital UNIX

16 years agocheckpoint
Todd C. Miller [Wed, 26 Nov 2008 01:06:15 +0000 (01:06 +0000)]
checkpoint

16 years agosync
Todd C. Miller [Wed, 26 Nov 2008 01:05:53 +0000 (01:05 +0000)]
sync

16 years agoEven if neither stdin nor stdout are ttys we may still have /dev/tty
Todd C. Miller [Tue, 25 Nov 2008 17:01:34 +0000 (17:01 +0000)]
Even if neither stdin nor stdout are ttys we may still have /dev/tty
available to us.

16 years agoregen
Todd C. Miller [Mon, 24 Nov 2008 15:09:56 +0000 (15:09 +0000)]
regen

16 years agofix typos; Markus Lude
Todd C. Miller [Mon, 24 Nov 2008 15:08:16 +0000 (15:08 +0000)]
fix typos; Markus Lude

16 years agosync
Todd C. Miller [Mon, 24 Nov 2008 12:08:55 +0000 (12:08 +0000)]
sync

16 years agoregen
Todd C. Miller [Mon, 24 Nov 2008 00:42:20 +0000 (00:42 +0000)]
regen

16 years agoFix matching of a line that only consists of a comment char
Todd C. Miller [Mon, 24 Nov 2008 00:41:36 +0000 (00:41 +0000)]
Fix matching of a line that only consists of a comment char

16 years agoMacOS pam will retry conversation function if it fails so just treat
Todd C. Miller [Sat, 22 Nov 2008 18:17:44 +0000 (18:17 +0000)]
MacOS pam will retry conversation function if it fails so just treat
^C as an empty password.

16 years agoWhen checking for alias use, also check defaults bindings.
Todd C. Miller [Sat, 22 Nov 2008 15:12:26 +0000 (15:12 +0000)]
When checking for alias use, also check defaults bindings.

16 years agounused var
Todd C. Miller [Sat, 22 Nov 2008 15:01:25 +0000 (15:01 +0000)]
unused var

16 years agoReplace my rbdelete with Emin's version (which actually works ;-)
Todd C. Miller [Sat, 22 Nov 2008 14:42:42 +0000 (14:42 +0000)]
Replace my rbdelete with Emin's version (which actually works ;-)

16 years agomalloc debugging
Todd C. Miller [Wed, 19 Nov 2008 17:01:20 +0000 (17:01 +0000)]
malloc debugging

16 years agomalloc options in devel mode for visudo too
Todd C. Miller [Wed, 19 Nov 2008 12:37:05 +0000 (12:37 +0000)]
malloc options in devel mode for visudo too

16 years agofix compilation on non-C99; from Theo
Todd C. Miller [Tue, 18 Nov 2008 15:57:09 +0000 (15:57 +0000)]
fix compilation on non-C99; from Theo

16 years agofix check_aliases
Todd C. Miller [Tue, 18 Nov 2008 15:50:53 +0000 (15:50 +0000)]
fix check_aliases

16 years agowhen destroying an alias, free the correct data pointer
Todd C. Miller [Tue, 18 Nov 2008 13:29:58 +0000 (13:29 +0000)]
when destroying an alias, free the correct data pointer

16 years agoadd proto for aixauth_cleanup; from Dale King
Todd C. Miller [Tue, 18 Nov 2008 12:54:51 +0000 (12:54 +0000)]
add proto for aixauth_cleanup; from Dale King

16 years agoregen
Todd C. Miller [Sat, 15 Nov 2008 18:34:26 +0000 (18:34 +0000)]
regen

16 years agostandardize on the term 'option' for command line options (not flag)
Todd C. Miller [Sat, 15 Nov 2008 18:34:01 +0000 (18:34 +0000)]
standardize on the term 'option' for command line options (not flag)

16 years agoAdd note on configuring HP-UX pam
Todd C. Miller [Fri, 14 Nov 2008 11:18:08 +0000 (11:18 +0000)]
Add note on configuring HP-UX pam

16 years agoMove tty checks into check_user() so we only do them if we actually
Todd C. Miller [Tue, 11 Nov 2008 18:28:08 +0000 (18:28 +0000)]
Move tty checks into check_user() so we only do them if we actually
need a password.

16 years agoDon't error out if no tty or askpass unless we actually need to authenticate.
Todd C. Miller [Tue, 11 Nov 2008 17:34:27 +0000 (17:34 +0000)]
Don't error out if no tty or askpass unless we actually need to authenticate.

16 years agoregen
Todd C. Miller [Mon, 10 Nov 2008 20:20:10 +0000 (20:20 +0000)]
regen

16 years agos/overriden/overridden/; from Tobias Stoeckmann
Todd C. Miller [Mon, 10 Nov 2008 13:07:38 +0000 (13:07 +0000)]
s/overriden/overridden/; from Tobias Stoeckmann

16 years agocheck sudoers owner and mode in strict mode
Todd C. Miller [Sun, 9 Nov 2008 20:19:19 +0000 (20:19 +0000)]
check sudoers owner and mode in strict mode

16 years agoregen
Todd C. Miller [Sun, 9 Nov 2008 14:15:36 +0000 (14:15 +0000)]
regen

16 years agoUpdate copyright years.
Todd C. Miller [Sun, 9 Nov 2008 14:14:14 +0000 (14:14 +0000)]
Update copyright years.

16 years agoUpdate copyright years.
Todd C. Miller [Sun, 9 Nov 2008 14:13:13 +0000 (14:13 +0000)]
Update copyright years.

16 years agoadd my copyright
Todd C. Miller [Sun, 9 Nov 2008 13:48:33 +0000 (13:48 +0000)]
add my copyright

16 years agoThe loop in fill_cmnd() was going one byte too far past the end, resulting
Todd C. Miller [Sat, 8 Nov 2008 15:40:33 +0000 (15:40 +0000)]
The loop in fill_cmnd() was going one byte too far past the end, resulting
in a NUL being written immediately after the buffer end.

16 years agoadd sections on tgetpass changes
Todd C. Miller [Sat, 8 Nov 2008 15:31:47 +0000 (15:31 +0000)]
add sections on tgetpass changes

16 years agoTreat EOF w/o newline as an error.
Todd C. Miller [Sat, 8 Nov 2008 15:30:42 +0000 (15:30 +0000)]
Treat EOF w/o newline as an error.