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
Todd C. Miller
6575013a1f
Include flavor in solaris package name
2010-07-15 16:51:48 -04:00
Todd C. Miller
8fd2e25648
Older shells don't support IFS= so set explictly to space, tab, newline.
2010-07-15 16:35:38 -04:00
Todd C. Miller
df1ed5f3e1
Use '=' not '==' in test
2010-07-15 15:44:36 -04:00
Todd C. Miller
3383311862
Fix typo that prevented debian from matching
2010-07-15 15:23:12 -04:00
Todd C. Miller
d6dfa43d21
Add missing prefix setting for debian
2010-07-15 15:19:37 -04:00
Todd C. Miller
8a837375d0
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
2010-07-15 15:12:34 -04:00
Todd C. Miller
af0bac430a
Add commented out env_keep entries, sample Aliases and a %sudo line
...
for debian.
2010-07-15 15:09:54 -04:00
Todd C. Miller
3ea95dae3d
Move zlib check later on in the script to avoid a strange shell problem
...
on SLES11.
2010-07-15 09:49:32 -04:00
Todd C. Miller
77d3b8d09d
Remove check for egrep; configure has its own
2010-07-15 09:38:15 -04:00
Todd C. Miller
98650c9a24
Enable zlib for linux distros
2010-07-14 16:03:59 -04:00
Todd C. Miller
402b35a798
Add ldap flavor to default build
2010-07-14 15:56:37 -04:00
Todd C. Miller
f440808e57
Simplify rpm linux distro settings
2010-07-14 15:54:09 -04:00
Todd C. Miller
c2c15aa4e5
Move time stamp files from /var/run/sudo to /var/{db,lib,adm}/sudo.
2010-07-14 14:57:32 -04:00
Todd C. Miller
669ca78990
Fix ChangeLog creation from build dir
2010-07-14 14:23:43 -04:00
Todd C. Miller
482f9cfc83
Handle getcwd() failure.
2010-07-14 14:17:56 -04:00
Todd C. Miller
eccbde77da
Add ldap "flavor" for debian, controlled by the SUDO_FLAVOR environment
...
variable.
2010-07-14 14:09:34 -04:00
Todd C. Miller
3910c8fb50
Create sudo group on debian
2010-07-14 14:07:38 -04:00
Todd C. Miller
a7dac1fc25
Add debian 4/5/6 and use the dot when doing version matches
2010-07-14 09:36:05 -04:00
Todd C. Miller
09a6f46511
Use a loop when searching for mv, sendmail and sh
2010-07-14 09:35:26 -04:00
Todd C. Miller
de3cfa25f4
Remove spurious "and"; from debian
2010-07-14 09:34:39 -04:00
Todd C. Miller
26ca852a98
Substitute the value of EDITOR into the sudoers and visudo manuals.
2010-07-14 09:33:53 -04:00
Todd C. Miller
fde091cc00
Initial support for debian 4.0
2010-07-13 17:52:50 -04:00
Todd C. Miller
781788e2ee
Some platforms need -fPIE instead of -fpie
2010-07-13 10:17:51 -04:00
Todd C. Miller
efbc7f1d57
Only set PAM_RHOST for Solaris, where it is needed to avoid a bug.
...
On Linux it causes a DNS lookup via libaudit.
2010-07-13 08:56:31 -04:00
Todd C. Miller
594fb3c552
Update MANIFEST to match packaging changes
2010-07-13 08:52:50 -04:00
Todd C. Miller
0544939f58
We now use pp to generate HP-UX packages
2010-07-13 08:38:35 -04:00