]>
granicus.if.org Git - sudo/log
Todd C. Miller [Mon, 26 Jul 2010 19:00:34 +0000 (15:00 -0400)]
Remove apparently unnecessary use of sudo
Todd C. Miller [Mon, 26 Jul 2010 18:26:54 +0000 (14:26 -0400)]
Create timedir as part of install-dirs target.
Todd C. Miller [Mon, 26 Jul 2010 17:04:11 +0000 (13:04 -0400)]
Handle ENXIO from read/write which can occur when reading/writing
a pty that has gone away.
Todd C. Miller [Mon, 26 Jul 2010 16:34:42 +0000 (12:34 -0400)]
sudo_pwdup() was not expanding an empty pw_shell to _PATH_BSHELL
Todd C. Miller [Mon, 26 Jul 2010 15:34:56 +0000 (11:34 -0400)]
platform is a pp flag not a variable
Todd C. Miller [Mon, 26 Jul 2010 15:15:50 +0000 (11:15 -0400)]
Add simple arg parsing for mkpkg so we can set debug, flavor or platform.
Todd C. Miller [Mon, 26 Jul 2010 15:14:04 +0000 (11:14 -0400)]
Make rpm backend work on AIX 5.x
Todd C. Miller [Sun, 25 Jul 2010 17:12:49 +0000 (13:12 -0400)]
Add commented out Defaults entry for log_output
Todd C. Miller [Fri, 23 Jul 2010 16:22:10 +0000 (12:22 -0400)]
Remove sudo docdir completely
Todd C. Miller [Fri, 23 Jul 2010 16:21:22 +0000 (12:21 -0400)]
Add sample sudo.conf
Todd C. Miller [Thu, 22 Jul 2010 11:58:02 +0000 (07:58 -0400)]
Add PACKAGE_TARNAME for docdir
Todd C. Miller [Fri, 23 Jul 2010 15:26:18 +0000 (11:26 -0400)]
Pass install-sh -b~ here too.
Todd C. Miller [Fri, 23 Jul 2010 15:23:53 +0000 (11:23 -0400)]
Install binary files with -b~ to make a backup.
Fixes "text file busy" error on HP-UX during install.
Todd C. Miller [Fri, 23 Jul 2010 15:22:44 +0000 (11:22 -0400)]
"mv -f" on HP-UX doesn't unlink the destination first so add
an explicit rm before moving the temporary into place.
Todd C. Miller [Fri, 23 Jul 2010 13:33:19 +0000 (09:33 -0400)]
Some more ${foo} -> $(foo) conversion for consistent Makefiles.
Todd C. Miller [Fri, 23 Jul 2010 13:12:03 +0000 (09:12 -0400)]
Install sudoers2ldif in the doc dir
Todd C. Miller [Thu, 22 Jul 2010 22:44:48 +0000 (18:44 -0400)]
Add missing include of maillock.h for Solaris
Todd C. Miller [Thu, 22 Jul 2010 21:50:21 +0000 (17:50 -0400)]
Change the default syslog facility from local2 to authpriv (or auth
if the operating system doesn't support authpriv).
Todd C. Miller [Thu, 22 Jul 2010 17:47:32 +0000 (13:47 -0400)]
Install sudoers as /etc/sudoers on RPM and debian systems where the
package manager will not replace a user-modified configuration file.
This fixes upgrades from the vendor sudo packages.
Todd C. Miller [Thu, 22 Jul 2010 17:42:59 +0000 (13:42 -0400)]
RPM: use %config(noreplace) instead of %config for volatile This
results in the new file being installed with a .rpmnew suffix instead
of the file being replaced and the old one renamed with a .rpmsave
suffix.
Todd C. Miller [Wed, 21 Jul 2010 20:01:16 +0000 (16:01 -0400)]
Include time.h for struct timeval
Todd C. Miller [Wed, 21 Jul 2010 19:57:37 +0000 (15:57 -0400)]
The return value of strsignal() may be const and should be treated
as const regardless.
Todd C. Miller [Wed, 21 Jul 2010 19:19:56 +0000 (15:19 -0400)]
Mention that 127.0.0.1 will not match, nor will localhost unless
that is the actual host name.
Todd C. Miller [Wed, 21 Jul 2010 19:00:14 +0000 (15:00 -0400)]
Rename WHATSNEW -> NEWS
Todd C. Miller [Wed, 21 Jul 2010 18:54:46 +0000 (14:54 -0400)]
Updated pp with latest patches
Todd C. Miller [Wed, 21 Jul 2010 14:17:57 +0000 (10:17 -0400)]
Sync with 1.7.4
Todd C. Miller [Wed, 21 Jul 2010 13:51:43 +0000 (09:51 -0400)]
Add commented out line to add HOME to env_keep and add a warning
to the note about the HOME change in UPGRADE.
Todd C. Miller [Tue, 20 Jul 2010 19:34:30 +0000 (15:34 -0400)]
Add LINE_MAX define for those without it.
Todd C. Miller [Tue, 20 Jul 2010 17:20:53 +0000 (13:20 -0400)]
The tty_tickets option is now on by default.
Todd C. Miller [Tue, 20 Jul 2010 16:44:52 +0000 (12:44 -0400)]
Mention that AIX authdb support has been fixed.
Todd C. Miller [Tue, 20 Jul 2010 16:40:37 +0000 (12:40 -0400)]
setauthdb() only sets the "old" registry if it was set by a previous
call to setauthdb(). To restore the original value, passing NULL
(or an empty string) to setauthdb() is sufficient.
Todd C. Miller [Mon, 19 Jul 2010 19:35:47 +0000 (15:35 -0400)]
Reset HOME when env_reset is enabled unless it is in env_keep
Todd C. Miller [Mon, 19 Jul 2010 18:12:03 +0000 (14:12 -0400)]
The default for set_logname has been "true" for some time now.
Todd C. Miller [Mon, 19 Jul 2010 16:55:27 +0000 (12:55 -0400)]
Add missing include of time.h
Todd C. Miller [Mon, 19 Jul 2010 16:54:30 +0000 (12:54 -0400)]
Fix check for dup2() return value.
Todd C. Miller [Mon, 19 Jul 2010 16:54:01 +0000 (12:54 -0400)]
Add PYTHONUSERBASE to initial_badenv_table
Todd C. Miller [Mon, 19 Jul 2010 16:53:45 +0000 (12:53 -0400)]
Treat an unknown defaults entry as a parse error.
Todd C. Miller [Mon, 19 Jul 2010 16:53:25 +0000 (12:53 -0400)]
Check return value of setdefs() but don't stop setting defaults if
we hit an unknown one.
Todd C. Miller [Mon, 19 Jul 2010 16:50:59 +0000 (12:50 -0400)]
If env_reset is enabled, set the MAIL environment variable based
on the target user unless MAIL is explicitly preserved in sudoers.
Todd C. Miller [Sat, 17 Jul 2010 22:29:45 +0000 (18:29 -0400)]
decode debian code names
Todd C. Miller [Sat, 17 Jul 2010 17:27:38 +0000 (13:27 -0400)]
fix typo
Todd C. Miller [Fri, 16 Jul 2010 18:38:59 +0000 (14:38 -0400)]
Merge with 1.7.4
Todd C. Miller [Fri, 16 Jul 2010 18:05:03 +0000 (14:05 -0400)]
Restore RLIMIT_NPROC after the uid switch if it appears that runas_setup()
did not do it for us. Fixes a bash script problem on SuSE with RLIMIT_NPROC
set to RLIM_INFINITY.
Todd C. Miller [Fri, 16 Jul 2010 02:19:13 +0000 (22:19 -0400)]
Restore the dot removal in the os version reported by polypkg.
Adapt mkpkg and sudo.pp to the change.
Todd C. Miller [Fri, 16 Jul 2010 11:10:22 +0000 (07:10 -0400)]
document --with-pam-login
Todd C. Miller [Fri, 16 Jul 2010 09:58:01 +0000 (05:58 -0400)]
The tag is NOSETENV, not UNSETENV. From Petr Uzel.
Todd C. Miller [Thu, 15 Jul 2010 20:51:48 +0000 (16:51 -0400)]
Include flavor in solaris package name
Todd C. Miller [Thu, 15 Jul 2010 20:35:38 +0000 (16:35 -0400)]
Older shells don't support IFS= so set explictly to space, tab, newline.
Todd C. Miller [Thu, 15 Jul 2010 19:44:36 +0000 (15:44 -0400)]
Use '=' not '==' in test
Todd C. Miller [Thu, 15 Jul 2010 19:23:12 +0000 (15:23 -0400)]
Fix typo that prevented debian from matching
Todd C. Miller [Thu, 15 Jul 2010 19:19:37 +0000 (15:19 -0400)]
Add missing prefix setting for debian
Todd C. Miller [Thu, 15 Jul 2010 19:12:34 +0000 (15:12 -0400)]
Use tab indents to reduce the chance of problem with <<-
Fix the debian %set section, pp does not set pp_deb_distro
Uncomment %sudo line in sudoers for debian
Uncomment some env_keep lines for RHEL, SLES and debian to more
closely match the vendor sudoers files.
Add /etc/pam.d to %files
Remove the /etc/sudo-ldap.conf symlink on debian for ldap flavor
Todd C. Miller [Thu, 15 Jul 2010 19:09:54 +0000 (15:09 -0400)]
Add commented out env_keep entries, sample Aliases and a %sudo line
for debian.
Todd C. Miller [Thu, 15 Jul 2010 13:49:32 +0000 (09:49 -0400)]
Move zlib check later on in the script to avoid a strange shell problem
on SLES11.
Todd C. Miller [Thu, 15 Jul 2010 13:38:15 +0000 (09:38 -0400)]
Remove check for egrep; configure has its own
Todd C. Miller [Wed, 14 Jul 2010 20:03:59 +0000 (16:03 -0400)]
Enable zlib for linux distros
Todd C. Miller [Wed, 14 Jul 2010 19:56:37 +0000 (15:56 -0400)]
Add ldap flavor to default build
Todd C. Miller [Wed, 14 Jul 2010 19:54:09 +0000 (15:54 -0400)]
Simplify rpm linux distro settings
Todd C. Miller [Wed, 14 Jul 2010 18:57:32 +0000 (14:57 -0400)]
Move time stamp files from /var/run/sudo to /var/{db,lib,adm}/sudo.
Todd C. Miller [Wed, 14 Jul 2010 18:23:43 +0000 (14:23 -0400)]
Fix ChangeLog creation from build dir
Todd C. Miller [Wed, 14 Jul 2010 18:17:56 +0000 (14:17 -0400)]
Handle getcwd() failure.
Todd C. Miller [Wed, 14 Jul 2010 18:09:34 +0000 (14:09 -0400)]
Add ldap "flavor" for debian, controlled by the SUDO_FLAVOR environment
variable.
Todd C. Miller [Wed, 14 Jul 2010 18:07:38 +0000 (14:07 -0400)]
Create sudo group on debian
Todd C. Miller [Wed, 14 Jul 2010 13:36:05 +0000 (09:36 -0400)]
Add debian 4/5/6 and use the dot when doing version matches
Todd C. Miller [Wed, 14 Jul 2010 13:35:26 +0000 (09:35 -0400)]
Use a loop when searching for mv, sendmail and sh
Todd C. Miller [Wed, 14 Jul 2010 13:34:39 +0000 (09:34 -0400)]
Remove spurious "and"; from debian
Todd C. Miller [Wed, 14 Jul 2010 13:33:53 +0000 (09:33 -0400)]
Substitute the value of EDITOR into the sudoers and visudo manuals.
Todd C. Miller [Tue, 13 Jul 2010 21:52:50 +0000 (17:52 -0400)]
Initial support for debian 4.0
Todd C. Miller [Tue, 13 Jul 2010 14:17:51 +0000 (10:17 -0400)]
Some platforms need -fPIE instead of -fpie
Todd C. Miller [Tue, 13 Jul 2010 12:56:31 +0000 (08:56 -0400)]
Only set PAM_RHOST for Solaris, where it is needed to avoid a bug.
On Linux it causes a DNS lookup via libaudit.
Todd C. Miller [Tue, 13 Jul 2010 12:52:50 +0000 (08:52 -0400)]
Update MANIFEST to match packaging changes
Todd C. Miller [Tue, 13 Jul 2010 12:38:35 +0000 (08:38 -0400)]
We now use pp to generate HP-UX packages
Todd C. Miller [Tue, 13 Jul 2010 12:37:28 +0000 (08:37 -0400)]
Remove vestiges of old binary package bits.
Todd C. Miller [Tue, 13 Jul 2010 12:36:19 +0000 (08:36 -0400)]
install-man -> install-doc
Todd C. Miller [Tue, 13 Jul 2010 12:33:46 +0000 (08:33 -0400)]
Use http://rc.quest.com/topics/polypkg/ for packaging
Todd C. Miller [Tue, 13 Jul 2010 12:31:01 +0000 (08:31 -0400)]
Just ignore the -c option, it is the default
Add support for -d option
Todd C. Miller [Mon, 12 Jul 2010 22:07:52 +0000 (18:07 -0400)]
Use _PATH_STDPATH instead of _PATH_DEFPATH
Todd C. Miller [Mon, 12 Jul 2010 22:06:46 +0000 (18:06 -0400)]
Do not strip binaries.
Todd C. Miller [Mon, 12 Jul 2010 22:04:16 +0000 (18:04 -0400)]
Add --insults=disabled configure option to allow people to build
in insult support but have the insults disabled unless explicitly
enabled in sudoers.
Todd C. Miller [Mon, 12 Jul 2010 22:00:05 +0000 (18:00 -0400)]
Add prototype for gettime()
Todd C. Miller [Mon, 12 Jul 2010 21:57:53 +0000 (17:57 -0400)]
Add support for a sudo-i pam.d file to be used for "sudo -i".
Adapted from a RedHat patch.
Todd C. Miller [Fri, 9 Jul 2010 14:22:20 +0000 (10:22 -0400)]
Fix mkstemps() prototype
Todd C. Miller [Fri, 9 Jul 2010 14:08:05 +0000 (10:08 -0400)]
Use mkstemps() instead of mkstemp() in sudoedit. This allows sudoedit
to preserve the file extension (if any) which may be used by the editor
(like emacs) to choose the editing mode.
Todd C. Miller [Thu, 8 Jul 2010 13:02:03 +0000 (09:02 -0400)]
TLS_CACERT is now an alias for TLS_CACERTFILE. OpenLDAP uses TLS_CACERT,
not TLS_CACERTFILE in its ldap.conf. Other LDAP client code, such as
nss_ldap, uses TLS_CACERTFILE. Also document why you should avoid
disabling TLS_CHECKPEER is possible.
Todd C. Miller [Wed, 7 Jul 2010 20:59:06 +0000 (16:59 -0400)]
Make sudo_plugin format a bit more like a man page
Todd C. Miller [Wed, 7 Jul 2010 18:33:27 +0000 (14:33 -0400)]
Add suport for negated user/host/command lists in a Defaults entry.
E.g. Defaults:!baduser noexec
Todd C. Miller [Wed, 7 Jul 2010 15:42:36 +0000 (11:42 -0400)]
Add uninstall target
Todd C. Miller [Wed, 7 Jul 2010 15:12:58 +0000 (11:12 -0400)]
Remove unused AR, SED and RANLIB variables
Todd C. Miller [Wed, 7 Jul 2010 15:09:41 +0000 (11:09 -0400)]
Do not install sample plugins
Todd C. Miller [Tue, 6 Jul 2010 20:44:33 +0000 (16:44 -0400)]
Now that sudoers is a dynamically loaded module we cannot override
the libc environment functions because the symbols may already have
been resolved via libc. Remove getenv/putenv/setenv/unsetenv
replacements from sudoers and add replacements for setenv/unsetenv
for systems that lack them.
Todd C. Miller [Tue, 6 Jul 2010 17:34:05 +0000 (13:34 -0400)]
Link testsudoers with -ldl when needed
Todd C. Miller [Tue, 6 Jul 2010 17:25:05 +0000 (13:25 -0400)]
Remove unused time.h and add limits.h for PATH_MAX
Todd C. Miller [Tue, 6 Jul 2010 17:24:00 +0000 (13:24 -0400)]
Fix typo.
Todd C. Miller [Mon, 5 Jul 2010 20:49:25 +0000 (16:49 -0400)]
Do not depend on strlcpy/strlcat
Todd C. Miller [Mon, 5 Jul 2010 20:13:32 +0000 (16:13 -0400)]
Standalone test driver for sudoers group plugin.
Todd C. Miller [Fri, 2 Jul 2010 20:03:21 +0000 (16:03 -0400)]
Use RTLD_LAZY instead of RTLD_NOW; was using RTLD_NOW as a debugging aid.
Todd C. Miller [Fri, 2 Jul 2010 19:56:04 +0000 (15:56 -0400)]
Fix style nit in function declarations
Todd C. Miller [Fri, 2 Jul 2010 19:37:47 +0000 (15:37 -0400)]
Document group_plugin syntax.
Todd C. Miller [Fri, 2 Jul 2010 17:42:53 +0000 (13:42 -0400)]
Document the sudoers group plugin.
Todd C. Miller [Fri, 2 Jul 2010 15:11:25 +0000 (11:11 -0400)]
Replace built-in non-unix group support with a sudoers group plugin.
Include a sample plugin that can read Unix-format group files.