2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 05:48:18 +00:00

5760 Commits

Author SHA1 Message Date
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
Todd C. Miller
ab7a1c5ce4 Remove vestiges of old binary package bits. 2010-07-13 08:37:28 -04:00
Todd C. Miller
a33996e740 install-man -> install-doc 2010-07-13 08:36:19 -04:00
Todd C. Miller
7bcbce2078 Use http://rc.quest.com/topics/polypkg/ for packaging 2010-07-13 08:33:46 -04:00
Todd C. Miller
69400709d7 Just ignore the -c option, it is the default
Add support for -d option
2010-07-13 08:31:01 -04:00
Todd C. Miller
5b9e39ac87 Use _PATH_STDPATH instead of _PATH_DEFPATH 2010-07-12 18:07:52 -04:00
Todd C. Miller
151db86e3b Do not strip binaries. 2010-07-12 18:06:46 -04:00
Todd C. Miller
7910281697 Add --insults=disabled configure option to allow people to build
in insult support but have the insults disabled unless explicitly
enabled in sudoers.
2010-07-12 18:04:16 -04:00
Todd C. Miller
2b7410074f Add prototype for gettime() 2010-07-12 18:00:05 -04:00
Todd C. Miller
d9de7b5f8e Add support for a sudo-i pam.d file to be used for "sudo -i".
Adapted from a RedHat patch.
2010-07-12 17:57:53 -04:00
Todd C. Miller
684d1fd9f7 Fix mkstemps() prototype 2010-07-09 10:22:20 -04:00
Todd C. Miller
ea4298bb54 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.
2010-07-09 10:08:05 -04:00
Todd C. Miller
432d27573d 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.
2010-07-08 09:02:03 -04:00
Todd C. Miller
5b1420b6d4 Make sudo_plugin format a bit more like a man page 2010-07-07 16:59:06 -04:00
Todd C. Miller
fd6b72f48e Add suport for negated user/host/command lists in a Defaults entry.
E.g. Defaults:!baduser noexec
2010-07-07 14:33:27 -04:00
Todd C. Miller
3f33f75b7a Add uninstall target 2010-07-07 11:42:36 -04:00
Todd C. Miller
98ce6c94cb Remove unused AR, SED and RANLIB variables 2010-07-07 11:12:58 -04:00
Todd C. Miller
ff78357225 Do not install sample plugins 2010-07-07 11:09:41 -04:00
Todd C. Miller
6229c0e206 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.
2010-07-06 16:44:33 -04:00
Todd C. Miller
ff4a61b92d Link testsudoers with -ldl when needed 2010-07-06 13:34:05 -04:00
Todd C. Miller
e3f4447472 Remove unused time.h and add limits.h for PATH_MAX 2010-07-06 13:25:05 -04:00
Todd C. Miller
3906967771 Fix typo. 2010-07-06 13:24:00 -04:00
Todd C. Miller
47c28e7ece Do not depend on strlcpy/strlcat 2010-07-05 16:49:25 -04:00
Todd C. Miller
6a058e4af9 Standalone test driver for sudoers group plugin. 2010-07-05 16:13:32 -04:00
Todd C. Miller
17dbb33e57 Use RTLD_LAZY instead of RTLD_NOW; was using RTLD_NOW as a debugging aid. 2010-07-02 16:03:21 -04:00
Todd C. Miller
7e91ebff14 Fix style nit in function declarations 2010-07-02 15:56:04 -04:00
Todd C. Miller
2822c6c8ce Document group_plugin syntax. 2010-07-02 15:37:47 -04:00