]> granicus.if.org Git - sudo/log
sudo
20 years agoAdd --with-systrace
Todd C. Miller [Fri, 24 Sep 2004 00:11:31 +0000 (00:11 +0000)]
Add --with-systrace

20 years agoregen
Todd C. Miller [Thu, 23 Sep 2004 17:35:55 +0000 (17:35 +0000)]
regen

20 years agomake this work with autoconf-2.59
Todd C. Miller [Thu, 23 Sep 2004 17:35:40 +0000 (17:35 +0000)]
make this work with autoconf-2.59

20 years agoSimplify logic around open & stat of files and do sanity on edited
Todd C. Miller [Thu, 16 Sep 2004 16:58:03 +0000 (16:58 +0000)]
Simplify logic around open & stat of files and do sanity on edited
file even if we lack fstat (still racable but worth doing).

20 years agoAdd support url
Todd C. Miller [Wed, 15 Sep 2004 22:47:48 +0000 (22:47 +0000)]
Add support url

20 years agoversino 1.6.8p1 SUDO_1_6_8p1
Todd C. Miller [Wed, 15 Sep 2004 20:11:22 +0000 (20:11 +0000)]
versino 1.6.8p1

20 years agomore changes for 1.6.8p1
Todd C. Miller [Wed, 15 Sep 2004 19:20:24 +0000 (19:20 +0000)]
more changes for 1.6.8p1

20 years ago1.6.8p1
Todd C. Miller [Wed, 15 Sep 2004 19:18:38 +0000 (19:18 +0000)]
1.6.8p1

20 years agoAdd sanity check so we don't try to edit something other than a regular file.
Todd C. Miller [Wed, 15 Sep 2004 16:16:20 +0000 (16:16 +0000)]
Add sanity check so we don't try to edit something other than a regular file.

20 years agosync
Aaron Spangler [Wed, 15 Sep 2004 00:55:00 +0000 (00:55 +0000)]
sync

20 years agodocument --with-ldap-conf-file
Aaron Spangler [Wed, 15 Sep 2004 00:21:59 +0000 (00:21 +0000)]
document --with-ldap-conf-file

20 years agopolitical correctness strikes again
Todd C. Miller [Tue, 14 Sep 2004 21:43:31 +0000 (21:43 +0000)]
political correctness strikes again

20 years agosync
Todd C. Miller [Tue, 14 Sep 2004 19:09:00 +0000 (19:09 +0000)]
sync

20 years agoInstall sudoedit man link
Todd C. Miller [Sun, 12 Sep 2004 23:50:35 +0000 (23:50 +0000)]
Install sudoedit man link

20 years agoUpdate PAM note and mention where HP-UX users can download gcc binaries.
Todd C. Miller [Sun, 12 Sep 2004 18:25:54 +0000 (18:25 +0000)]
Update PAM note and mention where HP-UX users can download gcc binaries.

20 years agolibtool wants to install stuff from .libs so fake one up for binary
Todd C. Miller [Sun, 12 Sep 2004 16:08:25 +0000 (16:08 +0000)]
libtool wants to install stuff from .libs so fake one up for binary
installations.

20 years agorm -f old sudoedit link instead of using ln -f
Todd C. Miller [Sun, 12 Sep 2004 15:53:28 +0000 (15:53 +0000)]
rm -f old sudoedit link instead of using ln -f
set LIBTOOL correctly

20 years agoDeal with "uname -m" having slashes in it
Todd C. Miller [Sun, 12 Sep 2004 15:53:03 +0000 (15:53 +0000)]
Deal with "uname -m" having slashes in it
rm -f old sudoedit link instead of using ln -f

20 years agoMakefile.binary -> Makefile.binary.in for config.status substitution
Todd C. Miller [Sun, 12 Sep 2004 14:22:36 +0000 (14:22 +0000)]
Makefile.binary -> Makefile.binary.in for config.status substitution
Add support for installing noexec bits

20 years agoCopy noexec bits into binary dists too
Todd C. Miller [Sun, 12 Sep 2004 14:21:49 +0000 (14:21 +0000)]
Copy noexec bits into binary dists too
No longer use my old arch script for making binary dists

20 years agoInstall sudoedit link.
Todd C. Miller [Sun, 12 Sep 2004 13:36:43 +0000 (13:36 +0000)]
Install sudoedit link.

20 years agoavoid __P so there is no need for compat.h to be included
Todd C. Miller [Sat, 11 Sep 2004 16:25:27 +0000 (16:25 +0000)]
avoid __P so there is no need for compat.h to be included

20 years agoDon't use HAVE_UTIME_H before including config.h.
Todd C. Miller [Sat, 11 Sep 2004 16:24:28 +0000 (16:24 +0000)]
Don't use HAVE_UTIME_H before including config.h.

20 years agoFix Solatis futimes macro
Todd C. Miller [Fri, 10 Sep 2004 16:31:15 +0000 (16:31 +0000)]
Fix Solatis futimes macro

20 years agoRename ots -> omtim for improved readability.
Todd C. Miller [Thu, 9 Sep 2004 15:02:28 +0000 (15:02 +0000)]
Rename ots -> omtim for improved readability.

20 years agoRedo changes in revision 1.7. Don't really need to keep the temp
Todd C. Miller [Wed, 8 Sep 2004 18:38:06 +0000 (18:38 +0000)]
Redo changes in revision 1.7.  Don't really need to keep the temp
file open; re-opening it with the invoking user's euid is sufficient.

20 years agosync
Todd C. Miller [Wed, 8 Sep 2004 18:36:36 +0000 (18:36 +0000)]
sync

20 years agoregen
Todd C. Miller [Wed, 8 Sep 2004 18:35:53 +0000 (18:35 +0000)]
regen

20 years agoback out revision 1.70; it is no long applicable
Todd C. Miller [Wed, 8 Sep 2004 18:34:38 +0000 (18:34 +0000)]
back out revision 1.70; it is no long applicable

20 years agoLet the loader initialize nep
Todd C. Miller [Wed, 8 Sep 2004 15:57:49 +0000 (15:57 +0000)]
Let the loader initialize nep

20 years agoRemoved unneed check for fchown
Todd C. Miller [Wed, 8 Sep 2004 15:49:26 +0000 (15:49 +0000)]
Removed unneed check for fchown
Add check for gettimeofday
Move autoheader template stuff into separate AH_TEMPLATE lines

20 years agoUse timespec throughout.
Todd C. Miller [Wed, 8 Sep 2004 15:48:23 +0000 (15:48 +0000)]
Use timespec throughout.

20 years agogettime.[co]
Todd C. Miller [Wed, 8 Sep 2004 15:47:35 +0000 (15:47 +0000)]
gettime.[co]

20 years agofunction to return the current time in a struct timespec
Todd C. Miller [Wed, 8 Sep 2004 15:47:09 +0000 (15:47 +0000)]
function to return the current time in a struct timespec

20 years agoNot a darpa-sponsored file.
Todd C. Miller [Wed, 8 Sep 2004 14:51:53 +0000 (14:51 +0000)]
Not a darpa-sponsored file.

20 years agoAdd a check for struct timespec and provide it for those without.
Todd C. Miller [Tue, 7 Sep 2004 20:36:31 +0000 (20:36 +0000)]
Add a check for struct timespec and provide it for those without.

20 years agoAdd checks for st_mtim and st_mtimespec and add macros for pulling
Todd C. Miller [Tue, 7 Sep 2004 19:57:00 +0000 (19:57 +0000)]
Add checks for st_mtim and st_mtimespec and add macros for pulling
the mtime sec and nsec out of struct stat.  These are used in sudo_edit()
to better tell whether or not the file has changed.

20 years agoAdd an extra param to touch() for nsec
Todd C. Miller [Tue, 7 Sep 2004 19:55:37 +0000 (19:55 +0000)]
Add an extra param to touch() for nsec

20 years agoCall mkstemp() as the in invoking user so we don't have to chown the file later.
Todd C. Miller [Tue, 7 Sep 2004 18:06:33 +0000 (18:06 +0000)]
Call mkstemp() as the in invoking user so we don't have to chown the file later.
Only touch() the temp file if we can do it via the file descriptor.
Don't check for modification of the temp file if we lack fstat().
Catch errors read()ing the temp file.

20 years agoIf path is NULL and fd == -1 return -1.
Todd C. Miller [Tue, 7 Sep 2004 18:04:48 +0000 (18:04 +0000)]
If path is NULL and fd == -1 return -1.

20 years agoclosefrom() is overkill, the only extra fds are the ones we opened so
Todd C. Miller [Tue, 7 Sep 2004 17:31:54 +0000 (17:31 +0000)]
closefrom() is overkill, the only extra fds are the ones we opened so
just close those in the child.

20 years agoUse utimes() and futimes() instead of utime() in touch(), emulating as needed.
Todd C. Miller [Tue, 7 Sep 2004 17:14:52 +0000 (17:14 +0000)]
Use utimes() and futimes() instead of utime() in touch(), emulating as needed.
Not all systems are able to support setting the times of an fd so touch()
takes both an fd and a file name as arguments.

20 years agoRare SEGV
Aaron Spangler [Tue, 7 Sep 2004 01:12:34 +0000 (01:12 +0000)]
Rare SEGV

20 years agoregen
Todd C. Miller [Mon, 6 Sep 2004 20:46:28 +0000 (20:46 +0000)]
regen

20 years agoAdd SUPPORT section and re-order some of the sections to match the order
Todd C. Miller [Mon, 6 Sep 2004 20:45:27 +0000 (20:45 +0000)]
Add SUPPORT section and re-order some of the sections to match the order
we use in OpenBSD.

20 years agoOpenldap ~/.ldaprc fix
Aaron Spangler [Mon, 6 Sep 2004 19:05:32 +0000 (19:05 +0000)]
Openldap ~/.ldaprc fix

20 years agoTalk about how the editor must write its changes to the original file and
Todd C. Miller [Mon, 6 Sep 2004 16:18:54 +0000 (16:18 +0000)]
Talk about how the editor must write its changes to the original file and
not just use rename(2).

20 years agosync
Todd C. Miller [Mon, 6 Sep 2004 16:12:00 +0000 (16:12 +0000)]
sync

20 years agoKeep the temp file open instead of re-opening after the editor has exited.
Todd C. Miller [Mon, 6 Sep 2004 16:11:42 +0000 (16:11 +0000)]
Keep the temp file open instead of re-opening after the editor has exited.

20 years agoUpdate for current redhat/fedora core.
Todd C. Miller [Mon, 6 Sep 2004 16:10:42 +0000 (16:10 +0000)]
Update for current redhat/fedora core.

20 years agotls_ examples
Aaron Spangler [Fri, 3 Sep 2004 01:56:45 +0000 (01:56 +0000)]
tls_ examples

20 years agoconfig tls_* options
Aaron Spangler [Thu, 2 Sep 2004 04:03:25 +0000 (04:03 +0000)]
config tls_* options

20 years agoNo need for -lcrypt when using pam.
Todd C. Miller [Sun, 29 Aug 2004 15:39:31 +0000 (15:39 +0000)]
No need for -lcrypt when using pam.

20 years agoregen
Todd C. Miller [Fri, 27 Aug 2004 03:57:19 +0000 (03:57 +0000)]
regen

20 years agoAllow --with-ldap-conf-file option to override LDAP_CONF
Aaron Spangler [Fri, 27 Aug 2004 03:44:35 +0000 (03:44 +0000)]
Allow --with-ldap-conf-file option to override LDAP_CONF

20 years agocleanup debug message
Aaron Spangler [Fri, 27 Aug 2004 02:08:10 +0000 (02:08 +0000)]
cleanup debug message

20 years agomore config info
Aaron Spangler [Thu, 26 Aug 2004 23:29:05 +0000 (23:29 +0000)]
more config info

20 years agoAdd cmnd_base to struct sudo_user and set it in init_vars().
Todd C. Miller [Tue, 24 Aug 2004 18:01:14 +0000 (18:01 +0000)]
Add cmnd_base to struct sudo_user and set it in init_vars().
Add cmnd_stat to struct sudo_user and set it in sudo_goodpath().
No longer use gross statics in command_matches().
Also rename some variables for improved clarity.

20 years agodocument HP's crippled compiler deficiency.
Todd C. Miller [Sat, 21 Aug 2004 18:33:16 +0000 (18:33 +0000)]
document HP's crippled compiler deficiency.

20 years agoFix some thinkos in --with-editor and --with-env-editor descriptions.
Todd C. Miller [Sat, 21 Aug 2004 18:25:46 +0000 (18:25 +0000)]
Fix some thinkos in --with-editor and --with-env-editor descriptions.
Noticed by Norihiko Murase.

20 years ago--with-noexec takes an optional PATH argument.
Todd C. Miller [Sat, 21 Aug 2004 18:20:38 +0000 (18:20 +0000)]
--with-noexec takes an optional PATH argument.

20 years agodocument --with-noexec
Todd C. Miller [Sat, 21 Aug 2004 18:20:11 +0000 (18:20 +0000)]
document --with-noexec

20 years agosync SUDO_1_6_8
Todd C. Miller [Tue, 17 Aug 2004 20:21:58 +0000 (20:21 +0000)]
sync

20 years agoBetter warning message when sudoedit is unable to write to the
Todd C. Miller [Tue, 17 Aug 2004 19:11:47 +0000 (19:11 +0000)]
Better warning message when sudoedit is unable to write to the
destination file.

20 years agoregen
Todd C. Miller [Tue, 17 Aug 2004 18:53:31 +0000 (18:53 +0000)]
regen

20 years agoDon't italicize the string "sudoedit"
Todd C. Miller [Tue, 17 Aug 2004 18:53:16 +0000 (18:53 +0000)]
Don't italicize the string "sudoedit"

20 years agoMention GratiSoft.
Todd C. Miller [Mon, 16 Aug 2004 22:45:52 +0000 (22:45 +0000)]
Mention GratiSoft.

20 years agoregen
Todd C. Miller [Wed, 11 Aug 2004 18:29:36 +0000 (18:29 +0000)]
regen

20 years agoReset used_runas to FALSE when re-intializing the parser.
Todd C. Miller [Wed, 11 Aug 2004 18:29:10 +0000 (18:29 +0000)]
Reset used_runas to FALSE when re-intializing the parser.

20 years agoCorrect OpenBSD mips support
Todd C. Miller [Mon, 9 Aug 2004 23:04:35 +0000 (23:04 +0000)]
Correct OpenBSD mips support

20 years agoAdd OpenBSD/mips
Todd C. Miller [Mon, 9 Aug 2004 21:28:56 +0000 (21:28 +0000)]
Add OpenBSD/mips

20 years agoMore behavior notes
Aaron Spangler [Sat, 7 Aug 2004 03:43:24 +0000 (03:43 +0000)]
More behavior notes

20 years agoUpdates on current behavior
Aaron Spangler [Sat, 7 Aug 2004 03:36:11 +0000 (03:36 +0000)]
Updates on current behavior

20 years ago=back does not take an indentlevel (makes no difference to formatted files).
Todd C. Miller [Fri, 6 Aug 2004 23:56:15 +0000 (23:56 +0000)]
=back does not take an indentlevel (makes no difference to formatted files).

20 years ago=back does not take an indentlevel (makes no difference to formatted files).
Todd C. Miller [Fri, 6 Aug 2004 23:56:15 +0000 (23:56 +0000)]
=back does not take an indentlevel (makes no difference to formatted files).

20 years agonew
Todd C. Miller [Fri, 6 Aug 2004 23:48:17 +0000 (23:48 +0000)]
new

20 years agoConsistency. Use same error for bad -u #uid when targetpw is set
Todd C. Miller [Fri, 6 Aug 2004 23:42:52 +0000 (23:42 +0000)]
Consistency.  Use same error for bad -u #uid when targetpw is set
as we do when a bad -u username is specified.

20 years agoAdd checksum idea from Steve Mancini
Todd C. Miller [Fri, 6 Aug 2004 23:33:05 +0000 (23:33 +0000)]
Add checksum idea from Steve Mancini

20 years agoregen
Todd C. Miller [Fri, 6 Aug 2004 23:32:31 +0000 (23:32 +0000)]
regen

20 years agoregen
Todd C. Miller [Fri, 6 Aug 2004 23:32:31 +0000 (23:32 +0000)]
regen

20 years agoDocument the restriction on uids specified via -u when targetpw is set.
Todd C. Miller [Fri, 6 Aug 2004 23:31:20 +0000 (23:31 +0000)]
Document the restriction on uids specified via -u when targetpw is set.

20 years agoError out when targetpw is enabled and sudo is run with -u #uid but
Todd C. Miller [Fri, 6 Aug 2004 23:24:41 +0000 (23:24 +0000)]
Error out when targetpw is enabled and sudo is run with -u #uid but
#uid does not exist in the passwd database.  We can't do target
authentication when the target is not in passwd!

20 years agoregen
Todd C. Miller [Fri, 6 Aug 2004 01:16:29 +0000 (01:16 +0000)]
regen

20 years agoSome more todo for the next release.
Todd C. Miller [Fri, 6 Aug 2004 01:14:00 +0000 (01:14 +0000)]
Some more todo for the next release.

20 years agoMake it clear that PAM should be used for DCE support when possible.
Todd C. Miller [Fri, 6 Aug 2004 01:13:43 +0000 (01:13 +0000)]
Make it clear that PAM should be used for DCE support when possible.

20 years agoo Document problems with wildcards and relative paths.
Todd C. Miller [Fri, 6 Aug 2004 01:13:01 +0000 (01:13 +0000)]
o Document problems with wildcards and relative paths.
o Make the order requirements more prominent.
o Change a "set" to "reset" for clarity.

20 years agoMention --with-secure-path, not SECURE_PATH.
Todd C. Miller [Thu, 5 Aug 2004 18:29:55 +0000 (18:29 +0000)]
Mention --with-secure-path, not SECURE_PATH.

20 years agoreflect changes to parse.c
Aaron Spangler [Tue, 3 Aug 2004 02:34:20 +0000 (02:34 +0000)]
reflect changes to parse.c

20 years agoregen
Todd C. Miller [Mon, 2 Aug 2004 18:45:31 +0000 (18:45 +0000)]
regen

20 years agoDon't pass user_cmnd and user_args to command_matches(), just use
Todd C. Miller [Mon, 2 Aug 2004 18:44:58 +0000 (18:44 +0000)]
Don't pass user_cmnd and user_args to command_matches(), just use
the globals there.  Since we keep state with statics anyway it is
misleading to pretend that passing in different cmnd and cmnd_args
will work.

20 years agoDon't pass user_cmnd and user_args to command_matches(), just use
Todd C. Miller [Mon, 2 Aug 2004 18:44:58 +0000 (18:44 +0000)]
Don't pass user_cmnd and user_args to command_matches(), just use
the globals there.  Since we keep state with statics anyway it is
misleading to pretend that passing in different cmnd and cmnd_args
will work.

20 years agoFix a bug introduced in rev. 1.149. When checking for pseudo-commands
Todd C. Miller [Mon, 2 Aug 2004 18:40:39 +0000 (18:40 +0000)]
Fix a bug introduced in rev. 1.149.  When checking for pseudo-commands
check for a '/' anywhere in cmnd, not just the first character.

20 years agoClarification thanks to Olivier Blin <oblin@mandrakesoft.com>
Aaron Spangler [Sat, 31 Jul 2004 03:07:20 +0000 (03:07 +0000)]
Clarification thanks to Olivier Blin <oblin@mandrakesoft.com>

20 years agoAdd ignore_local_sudoers
Aaron Spangler [Sat, 31 Jul 2004 02:41:42 +0000 (02:41 +0000)]
Add ignore_local_sudoers

20 years agoSun One schema definition by Andreas.Bussjaeger@t-systems.com and janth@moldung.no
Aaron Spangler [Sat, 31 Jul 2004 02:06:37 +0000 (02:06 +0000)]
Sun One schema definition by Andreas.Bussjaeger@t-systems.com and janth@moldung.no

20 years agotypo
Todd C. Miller [Thu, 29 Jul 2004 15:57:02 +0000 (15:57 +0000)]
typo

20 years agosync
Todd C. Miller [Fri, 23 Jul 2004 20:44:09 +0000 (20:44 +0000)]
sync

20 years agoParse sudoers file as PERM_RUNAS not PERM_ROOT and remove a useless
Todd C. Miller [Fri, 23 Jul 2004 20:43:09 +0000 (20:43 +0000)]
Parse sudoers file as PERM_RUNAS not PERM_ROOT and remove a useless
PERM_SUDOERS.  Restore to PERM_ROOT upon exit of the parse.

20 years agoPAM change
Todd C. Miller [Thu, 8 Jul 2004 14:20:09 +0000 (14:20 +0000)]
PAM change

20 years agoBetter debugging of ALL command
Aaron Spangler [Thu, 8 Jul 2004 01:04:50 +0000 (01:04 +0000)]
Better debugging of ALL command