Commit Graph

5212 Commits

Author SHA1 Message Date
Todd C. Miller
e11e4efb8f Do I/O logging in the C locale so the floating point numbers in the
timing file are not locale-dependent.
2010-07-27 09:45:20 -04:00
Todd C. Miller
a3e4db1244 Use errorx() not error() for thingsthat don't set errno. 2010-07-27 07:50:43 -04:00
Todd C. Miller
14909efc66 Better support for 1.2.3 style versions in Tru64 kits 2010-07-26 15:30:42 -04:00
Todd C. Miller
2e66c22a3b Add Tru64 kit support 2010-07-26 15:30:36 -04:00
Todd C. Miller
af182aed7d Remove apparently unnecessary use of sudo 2010-07-26 15:00:34 -04:00
Todd C. Miller
c59ad3596c Create timedir as part of install-dirs target. 2010-07-26 14:26:54 -04:00
Todd C. Miller
23c96fbc2e Handle ENXIO from read/write which can occur when reading/writing
a pty that has gone away.
2010-07-26 13:04:11 -04:00
Todd C. Miller
4168fcf2dd sudo_pwdup() was not expanding an empty pw_shell to _PATH_BSHELL 2010-07-26 12:34:42 -04:00
Todd C. Miller
1eebebeece platform is a pp flag not a variable 2010-07-26 11:34:56 -04:00
Todd C. Miller
551791a51f Add simple arg parsing for mkpkg so we can set debug, flavor or platform. 2010-07-26 11:15:50 -04:00
Todd C. Miller
d02489ff40 Make rpm backend work on AIX 5.x 2010-07-26 11:14:04 -04:00
Todd C. Miller
a346ba8df5 Add commented out Defaults entry for log_output 2010-07-25 13:12:49 -04:00
Todd C. Miller
a4b3a6d966 Remove sudo docdir completely 2010-07-23 12:22:10 -04:00
Todd C. Miller
084ae523ac Add sample sudo.conf 2010-07-23 12:21:22 -04:00
Todd C. Miller
aeac8822b4 Add PACKAGE_TARNAME for docdir 2010-07-22 07:58:02 -04:00
Todd C. Miller
06a918b88f Pass install-sh -b~ here too. 2010-07-23 11:26:18 -04:00
Todd C. Miller
092a6935e1 Install binary files with -b~ to make a backup.
Fixes "text file busy" error on HP-UX during install.
2010-07-23 11:23:53 -04:00
Todd C. Miller
49d82a04e7 "mv -f" on HP-UX doesn't unlink the destination first so add
an explicit rm before moving the temporary into place.
2010-07-23 11:22:44 -04:00
Todd C. Miller
5ba4a35a78 Some more ${foo} -> $(foo) conversion for consistent Makefiles. 2010-07-23 09:33:19 -04:00
Todd C. Miller
c016ecf006 Install sudoers2ldif in the doc dir 2010-07-23 09:12:03 -04:00
Todd C. Miller
258a26d391 Add missing include of maillock.h for Solaris 2010-07-22 18:44:48 -04:00
Todd C. Miller
8660b5ea35 Change the default syslog facility from local2 to authpriv (or auth
if the operating system doesn't support authpriv).
2010-07-22 17:50:21 -04:00
Todd C. Miller
481a389e6e 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.
2010-07-22 13:47:32 -04:00
Todd C. Miller
b0e282b505 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.
2010-07-22 13:42:59 -04:00
Todd C. Miller
5183d6e594 Include time.h for struct timeval 2010-07-21 16:01:16 -04:00
Todd C. Miller
c9e86ab3b9 The return value of strsignal() may be const and should be treated
as const regardless.
2010-07-21 15:57:37 -04:00
Todd C. Miller
bdecb14ea6 Mention that 127.0.0.1 will not match, nor will localhost unless
that is the actual host name.
2010-07-21 15:19:56 -04:00
Todd C. Miller
a72965e64c Rename WHATSNEW -> NEWS 2010-07-21 15:00:14 -04:00
Todd C. Miller
3f2263ae4c Updated pp with latest patches 2010-07-21 14:54:46 -04:00
Todd C. Miller
cb0d7cdb8f Sync with 1.7.4 2010-07-21 10:17:57 -04:00
Todd C. Miller
f45f57dca5 Add commented out line to add HOME to env_keep and add a warning
to the note about the HOME change in UPGRADE.
2010-07-21 09:51:43 -04:00
Todd C. Miller
d8acd34031 Add LINE_MAX define for those without it. 2010-07-20 15:34:30 -04:00
Todd C. Miller
2675524c32 The tty_tickets option is now on by default. 2010-07-20 13:20:53 -04:00
Todd C. Miller
9006c79ba3 Mention that AIX authdb support has been fixed. 2010-07-20 12:44:52 -04:00
Todd C. Miller
f3b397be0f 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.
2010-07-20 12:40:37 -04:00
Todd C. Miller
ee7221f1fe Reset HOME when env_reset is enabled unless it is in env_keep 2010-07-19 15:35:47 -04:00
Todd C. Miller
c31e1227f1 The default for set_logname has been "true" for some time now. 2010-07-19 14:12:03 -04:00
Todd C. Miller
4382c30c04 Add missing include of time.h 2010-07-19 12:55:27 -04:00
Todd C. Miller
10e6e572ea Fix check for dup2() return value. 2010-07-19 12:54:30 -04:00
Todd C. Miller
2eb1879fd7 Add PYTHONUSERBASE to initial_badenv_table 2010-07-19 12:54:01 -04:00
Todd C. Miller
32e896f339 Treat an unknown defaults entry as a parse error. 2010-07-19 12:53:45 -04:00
Todd C. Miller
f7f65cfb95 Check return value of setdefs() but don't stop setting defaults if
we hit an unknown one.
2010-07-19 12:53:25 -04:00
Todd C. Miller
69ecb34581 If env_reset is enabled, set the MAIL environment variable based
on the target user unless MAIL is explicitly preserved in sudoers.
2010-07-19 12:50:59 -04:00
Todd C. Miller
0f3c1b5903 decode debian code names 2010-07-17 18:29:45 -04:00
Todd C. Miller
a3c3602c10 fix typo 2010-07-17 13:27:38 -04:00
Todd C. Miller
a7fbdbe69d Merge with 1.7.4 2010-07-16 14:38:59 -04:00
Todd C. Miller
006427345c 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.
2010-07-16 14:05:03 -04:00
Todd C. Miller
3907d43635 Restore the dot removal in the os version reported by polypkg.
Adapt mkpkg and sudo.pp to the change.
2010-07-15 22:19:13 -04:00
Todd C. Miller
33c029c8ce document --with-pam-login 2010-07-16 07:10:22 -04:00
Todd C. Miller
225de60639 The tag is NOSETENV, not UNSETENV. From Petr Uzel. 2010-07-16 05:58:01 -04:00