]>
granicus.if.org Git - sudo/log
Todd C. Miller [Sun, 3 Jul 2011 15:02:05 +0000 (11:02 -0400)]
Document group lookup change and possible side effects.
--HG--
branch : 1.8
Todd C. Miller [Fri, 1 Jul 2011 18:21:06 +0000 (14:21 -0400)]
Resolve the list of gids passed in from the sudo frontend (the
result of getgroups()) to names and store both the group names and
ids in the sudo_user struct. When matching groups in the sudoers
file, match based on the names in the groups list first and
only do a gid-based match when we absolutely have to. By matching
on the group name (as it is listed in sudoers) instead of id
(which we would have to resolve) we save a lot of group lookups
for sudoers files with a lot of groups in them.
--HG--
branch : 1.8
Todd C. Miller [Fri, 1 Jul 2011 18:13:47 +0000 (14:13 -0400)]
Resolve the list of gids passed in from the sudo frontend (the
result of getgroups()) to names and store both the group names and
ids in the sudo_user struct. When matching groups in the sudoers
file, match based on the names in the groups list first and
only do a gid-based match when we absolutely have to. By matching
on the group name (as it is listed in sudoers) instead of id
(which we would have to resolve) we save a lot of group lookups
for sudoers files with a lot of groups in them.
Todd C. Miller [Wed, 29 Jun 2011 12:43:59 +0000 (08:43 -0400)]
Update for 1.8.2rc5
--HG--
branch : 1.8
Todd C. Miller [Sun, 26 Jun 2011 22:02:42 +0000 (18:02 -0400)]
Workaround for "sudo -i command" and newer versions of bash which
don't go into login mode when -c is specified unless -l is too.
--HG--
branch : 1.8
Todd C. Miller [Sun, 26 Jun 2011 22:02:09 +0000 (18:02 -0400)]
Workaround for "sudo -i command" and newer versions of bash which
don't go into login mode when -c is specified unless -l is too.
Todd C. Miller [Thu, 23 Jun 2011 18:29:51 +0000 (14:29 -0400)]
Rewrite logfile word wrapping code to be more straight-forward
and actually wrap at the correct place.
--HG--
branch : 1.8
Todd C. Miller [Thu, 23 Jun 2011 18:17:38 +0000 (14:17 -0400)]
Rewrite logfile word wrapping code to be more straight-forward
and actually wrap at the correct place.
Todd C. Miller [Wed, 22 Jun 2011 18:26:24 +0000 (14:26 -0400)]
Fix typo
--HG--
branch : 1.8
Todd C. Miller [Wed, 22 Jun 2011 14:12:22 +0000 (10:12 -0400)]
Mention use_pty bug fix
--HG--
branch : 1.8
Todd C. Miller [Wed, 22 Jun 2011 14:07:10 +0000 (10:07 -0400)]
Set use_pty=true in command details when use_pty is set in sudoers.
From Ludwig Nussel
--HG--
branch : 1.8
Todd C. Miller [Wed, 22 Jun 2011 14:06:35 +0000 (10:06 -0400)]
Set use_pty=true in command details when use_pty is set in sudoers.
From Ludwig Nussel
Todd C. Miller [Mon, 20 Jun 2011 12:33:15 +0000 (08:33 -0400)]
Sync Chinese (simplified) PO files from translationproject.org
--HG--
branch : 1.8
Todd C. Miller [Mon, 20 Jun 2011 12:30:10 +0000 (08:30 -0400)]
Sync Chinese (simplified) PO files from translationproject.org
Todd C. Miller [Sat, 18 Jun 2011 17:22:17 +0000 (13:22 -0400)]
Add Danish translation from translationproject.org and add missing
Basque mo files.
--HG--
branch : 1.8
Todd C. Miller [Sat, 18 Jun 2011 17:21:48 +0000 (13:21 -0400)]
Add Danish translation from translationproject.org and add missing
Basque mo files.
Todd C. Miller [Sat, 18 Jun 2011 17:13:18 +0000 (13:13 -0400)]
No longer need to specify LINGUAS in configure, "make install-nls"
now just installs all the .mo files it finds.
--HG--
branch : 1.8
Todd C. Miller [Sat, 18 Jun 2011 17:11:27 +0000 (13:11 -0400)]
No longer need to specify LINGUAS in configure, "make install-nls"
now just installs all the .mo files it finds.
Todd C. Miller [Fri, 17 Jun 2011 13:40:17 +0000 (09:40 -0400)]
Build CONTRIBUTORS from newly-added contributors.pod
--HG--
branch : 1.8
Todd C. Miller [Fri, 17 Jun 2011 13:39:27 +0000 (09:39 -0400)]
Build CONTRIBUTORS from newly-added contributors.pod
Todd C. Miller [Fri, 17 Jun 2011 13:08:33 +0000 (09:08 -0400)]
Rework the wording in the leading paragraph
--HG--
branch : 1.8
Todd C. Miller [Fri, 17 Jun 2011 13:07:49 +0000 (09:07 -0400)]
Rework the wording in the leading paragraph
Todd C. Miller [Thu, 16 Jun 2011 15:57:57 +0000 (11:57 -0400)]
Add a CONTRIBUTORS file with the names of folks who have contributed
code or patches to sudo since I started maintaining it (plus the
original authors).
--HG--
branch : 1.8
Todd C. Miller [Tue, 14 Jun 2011 20:53:26 +0000 (16:53 -0400)]
Add a CONTRIBUTORS file with the names of folks who have contributed
code or patches to sudo since I started maintaining it (plus the
original authors).
Todd C. Miller [Mon, 13 Jun 2011 11:23:47 +0000 (07:23 -0400)]
Preserve SHELL variable for "sudo -s". Otherwise we can end up
with a situation where the SHELL variable and the actual shell being
run do not match.
--HG--
branch : 1.8
Todd C. Miller [Mon, 13 Jun 2011 11:20:28 +0000 (07:20 -0400)]
Preserve SHELL variable for "sudo -s". Otherwise we can end up
with a situation where the SHELL variable and the actual shell being
run do not match.
Todd C. Miller [Fri, 10 Jun 2011 19:34:34 +0000 (15:34 -0400)]
Only enable Solaris project support when setproject() is present in
libproject.
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Jun 2011 19:34:13 +0000 (15:34 -0400)]
Explicitly set mode and owner of /etc/sudoers instead of relying
on "cp -p" to work in the postinstall script. On AIX 6.1 at least
the postinstall script runs before the final file permissions are set.
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Jun 2011 19:34:04 +0000 (15:34 -0400)]
Refer the user to the "Command Environment" section in description
of sudo's -i option.
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Jun 2011 19:33:44 +0000 (15:33 -0400)]
Fix typo
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Jun 2011 19:33:34 +0000 (15:33 -0400)]
If there is no old dependency for an object file, use the MANIFEST
to find its source.
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Jun 2011 19:33:23 +0000 (15:33 -0400)]
Remove dependency for getgrouplist.lo as we don't ship that source file.
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Jun 2011 19:33:12 +0000 (15:33 -0400)]
Do not declare yyparse() static as the actual function generated
by yacc is extern.
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Jun 2011 19:33:00 +0000 (15:33 -0400)]
Remove locale files in "make uninstall"
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Jun 2011 19:28:58 +0000 (15:28 -0400)]
Only enable Solaris project support when setproject() is present in
libproject.
Todd C. Miller [Fri, 10 Jun 2011 19:26:35 +0000 (15:26 -0400)]
Explicitly set mode and owner of /etc/sudoers instead of relying
on "cp -p" to work in the postinstall script. On AIX 6.1 at least
the postinstall script runs before the final file permissions are set.
Todd C. Miller [Thu, 9 Jun 2011 16:52:51 +0000 (12:52 -0400)]
Refer the user to the "Command Environment" section in description
of sudo's -i option.
Todd C. Miller [Thu, 9 Jun 2011 12:54:46 +0000 (08:54 -0400)]
Fix typo
Todd C. Miller [Wed, 8 Jun 2011 17:18:23 +0000 (13:18 -0400)]
If there is no old dependency for an object file, use the MANIFEST
to find its source.
Todd C. Miller [Wed, 8 Jun 2011 17:17:51 +0000 (13:17 -0400)]
Remove dependency for getgrouplist.lo as we don't ship that source file.
Todd C. Miller [Tue, 7 Jun 2011 15:45:06 +0000 (11:45 -0400)]
Do not declare yyparse() static as the actual function generated
by yacc is extern.
Todd C. Miller [Mon, 6 Jun 2011 18:40:42 +0000 (14:40 -0400)]
Remove locale files in "make uninstall"
Todd C. Miller [Mon, 6 Jun 2011 17:44:20 +0000 (13:44 -0400)]
Add Basque translation and sync Finish and Ukranian translations.
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Jun 2011 17:38:54 +0000 (13:38 -0400)]
Add Basque translation and sync Finish and Ukranian translations.
Todd C. Miller [Mon, 6 Jun 2011 15:10:39 +0000 (11:10 -0400)]
Update PAM change to reflect latest checkin.
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Jun 2011 15:07:33 +0000 (11:07 -0400)]
FreeBSD no longer needs the main sudo binary to link with -lpam
now that plug-ins are loaded with RTLD_GLOBAL.
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Jun 2011 15:07:22 +0000 (11:07 -0400)]
Load plugins with RTLD_GLOBAL instead of RTLD_LOCAL. This fixes
problems with pam modules not having access to symbols provided by
libpam on some platforms. Affects FreeBSD and SLES 10 at least.
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Jun 2011 15:07:10 +0000 (11:07 -0400)]
Move xgettext invocation out of update-po target into update-pot
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Jun 2011 15:02:52 +0000 (11:02 -0400)]
FreeBSD no longer needs the main sudo binary to link with -lpam
now that plug-ins are loaded with RTLD_GLOBAL.
Todd C. Miller [Mon, 6 Jun 2011 14:53:58 +0000 (10:53 -0400)]
Load plugins with RTLD_GLOBAL instead of RTLD_LOCAL. This fixes
problems with pam modules not having access to symbols provided by
libpam on some platforms. Affects FreeBSD and SLES 10 at least.
Todd C. Miller [Mon, 6 Jun 2011 12:46:50 +0000 (08:46 -0400)]
Move xgettext invocation out of update-po target into update-pot
Todd C. Miller [Sat, 4 Jun 2011 22:32:16 +0000 (18:32 -0400)]
Regenerate .pot files for 1.8.2rc2
--HG--
branch : 1.8
Todd C. Miller [Sat, 4 Jun 2011 22:31:46 +0000 (18:31 -0400)]
Move nls targets to the top level Makefile so the paths in
the pot file are saner
--HG--
branch : 1.8
Todd C. Miller [Sat, 4 Jun 2011 22:27:59 +0000 (18:27 -0400)]
Regenerate .pot files for 1.8.2rc2
Todd C. Miller [Sat, 4 Jun 2011 22:27:13 +0000 (18:27 -0400)]
Move nls targets to the top level Makefile so the paths in
the pot file are saner
Todd C. Miller [Sat, 4 Jun 2011 14:53:56 +0000 (10:53 -0400)]
Update 1.8.2 news
--HG--
branch : 1.8
Todd C. Miller [Sat, 4 Jun 2011 14:39:03 +0000 (10:39 -0400)]
Add compiled version of sudo Finish translation
--HG--
branch : 1.8
Todd C. Miller [Sat, 4 Jun 2011 14:14:41 +0000 (10:14 -0400)]
Add compiled version of sudo Finish translation
Todd C. Miller [Sat, 4 Jun 2011 14:12:24 +0000 (10:12 -0400)]
Update MANIFEST with .po and .mo files
Rebuild sudoers fi and uk .mo files
--HG--
branch : 1.8
Todd C. Miller [Sat, 4 Jun 2011 14:11:10 +0000 (10:11 -0400)]
Update MANIFEST with .po and .mo files
Rebuild sudoers fi and uk .mo files
Todd C. Miller [Sat, 4 Jun 2011 14:02:24 +0000 (10:02 -0400)]
Add Finish translation from translationproject.org
--HG--
branch : 1.8
Todd C. Miller [Sat, 4 Jun 2011 14:02:10 +0000 (10:02 -0400)]
The group named by exempt_group should not have a % prefix.
--HG--
branch : 1.8
Todd C. Miller [Sat, 4 Jun 2011 14:01:55 +0000 (10:01 -0400)]
Fix typo; "Defaults group_plugin" not "Defaults sudo_plugin"
--HG--
branch : 1.8
Todd C. Miller [Sat, 4 Jun 2011 14:01:39 +0000 (10:01 -0400)]
Fix compressed io log corruption in background mode by using _exit()
instead of exit() to avoid flushing buffers twice.
Improved background mode support. When not allocating a pty, the
command is run in its own process group. This prevents write access
to the tty. When running in a pty, stdin is not hooked up and we
never read from /dev/tty, which results in similar behavior.
--HG--
branch : 1.8
Todd C. Miller [Sat, 4 Jun 2011 13:58:44 +0000 (09:58 -0400)]
Add Finish translation from translationproject.org
Todd C. Miller [Fri, 3 Jun 2011 14:09:10 +0000 (10:09 -0400)]
The group named by exempt_group should not have a % prefix.
Todd C. Miller [Wed, 1 Jun 2011 16:26:13 +0000 (12:26 -0400)]
Fix typo; "Defaults group_plugin" not "Defaults sudo_plugin"
Todd C. Miller [Tue, 31 May 2011 16:49:22 +0000 (12:49 -0400)]
Fix compressed io log corruption in background mode by using _exit()
instead of exit() to avoid flushing buffers twice.
Improved background mode support. When not allocating a pty, the
command is run in its own process group. This prevents write access
to the tty. When running in a pty, stdin is not hooked up and we
never read from /dev/tty, which results in similar behavior.
Todd C. Miller [Tue, 31 May 2011 14:02:58 +0000 (10:02 -0400)]
Clean up regress files
Generate proper dependencies for regress objs in compat
--HG--
branch : 1.8
Todd C. Miller [Tue, 31 May 2011 14:02:48 +0000 (10:02 -0400)]
Add missing dependency for check_fill.o.
--HG--
branch : 1.8
Todd C. Miller [Tue, 31 May 2011 13:58:41 +0000 (09:58 -0400)]
Clean up regress files
Generate proper dependencies for regress objs in compat
Todd C. Miller [Tue, 31 May 2011 13:43:37 +0000 (09:43 -0400)]
Add missing dependency for check_fill.o.
Todd C. Miller [Mon, 30 May 2011 14:38:17 +0000 (10:38 -0400)]
Add support for --enable-nls[=location]
--HG--
branch : 1.8
Todd C. Miller [Sun, 29 May 2011 18:33:18 +0000 (14:33 -0400)]
Add support for --enable-nls[=location]
Todd C. Miller [Sat, 28 May 2011 19:32:33 +0000 (15:32 -0400)]
Include gettext.h
--HG--
branch : 1.8
Todd C. Miller [Sat, 28 May 2011 19:32:11 +0000 (15:32 -0400)]
Include gettext.h
Todd C. Miller [Sat, 28 May 2011 19:27:52 +0000 (15:27 -0400)]
Quiet gcc warnings.
--HG--
branch : 1.8
Todd C. Miller [Sat, 28 May 2011 19:27:14 +0000 (15:27 -0400)]
Quiet gcc warnings.
Todd C. Miller [Sat, 28 May 2011 13:19:28 +0000 (09:19 -0400)]
Don't install .mo files if gettext was not found.
--HG--
branch : 1.8
Todd C. Miller [Sat, 28 May 2011 13:18:46 +0000 (09:18 -0400)]
Don't install .mo files if gettext was not found.
Todd C. Miller [Fri, 27 May 2011 19:59:06 +0000 (15:59 -0400)]
Always allocate a pty when running a command in the background but
call setsid() after forking to make sure we don't end up with a
controlling tty.
--HG--
branch : 1.8
Todd C. Miller [Fri, 27 May 2011 19:58:56 +0000 (15:58 -0400)]
Add missing space between command name and the first command line argument.
--HG--
branch : 1.8
Todd C. Miller [Fri, 27 May 2011 19:58:40 +0000 (15:58 -0400)]
Quiet a compiler warning on some platforms.
--HG--
branch : 1.8
Todd C. Miller [Fri, 27 May 2011 19:58:26 +0000 (15:58 -0400)]
README file that directs people to translationproject.org
--HG--
branch : 1.8
Todd C. Miller [Fri, 27 May 2011 19:58:13 +0000 (15:58 -0400)]
Sync translations with TP
--HG--
branch : 1.8
Todd C. Miller [Fri, 27 May 2011 19:58:01 +0000 (15:58 -0400)]
Add 'sync-po' target to top-level Makefile to rsync the po files
from translationproject.org.
--HG--
branch : 1.8
Todd C. Miller [Fri, 27 May 2011 19:20:20 +0000 (15:20 -0400)]
Always allocate a pty when running a command in the background but
call setsid() after forking to make sure we don't end up with a
controlling tty.
Todd C. Miller [Fri, 27 May 2011 18:07:23 +0000 (14:07 -0400)]
Add missing space between command name and the first command line argument.
Todd C. Miller [Fri, 27 May 2011 17:50:37 +0000 (13:50 -0400)]
Quiet a compiler warning on some platforms.
Todd C. Miller [Fri, 27 May 2011 17:15:27 +0000 (13:15 -0400)]
README file that directs people to translationproject.org
Todd C. Miller [Fri, 27 May 2011 16:53:05 +0000 (12:53 -0400)]
Sync translations with TP
Todd C. Miller [Fri, 27 May 2011 16:52:47 +0000 (12:52 -0400)]
Add 'sync-po' target to top-level Makefile to rsync the po files
from translationproject.org.
Todd C. Miller [Fri, 27 May 2011 14:25:30 +0000 (10:25 -0400)]
install nls files from install target
--HG--
branch : 1.8
Todd C. Miller [Fri, 27 May 2011 14:24:55 +0000 (10:24 -0400)]
install nls files from install target
Todd C. Miller [Fri, 27 May 2011 14:18:31 +0000 (10:18 -0400)]
Include .mo files in sudo binary packags.
--HG--
branch : 1.8
Todd C. Miller [Fri, 27 May 2011 14:17:34 +0000 (10:17 -0400)]
Include .mo files in sudo binary packags.
Todd C. Miller [Fri, 27 May 2011 11:57:13 +0000 (07:57 -0400)]
Add simplified chinese translation
--HG--
branch : 1.8
Todd C. Miller [Fri, 27 May 2011 11:54:52 +0000 (07:54 -0400)]
Add simplified chinese translation
Todd C. Miller [Thu, 26 May 2011 19:24:59 +0000 (15:24 -0400)]
Add ukranian translation
--HG--
branch : 1.8
Todd C. Miller [Thu, 26 May 2011 19:23:55 +0000 (15:23 -0400)]
Add ukranian translation