Commit Graph

103 Commits

Author SHA256 Message Date
52d6fbb416 Accepting request 636863 from home:kstreitova:branches:Base:System
- fix permissions for /var/lib/sudo and /var/lib/sudo/ts
  [bsc#1097643]

OBS-URL: https://build.opensuse.org/request/show/636863
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=148
2018-09-21 09:55:59 +00:00
9924b7e357 Accepting request 636351 from home:mcalabkova:branches:Base:System
- Update to 1.8.25p1
  * Fixed a bug introduced in sudo 1.8.25 that caused a crash on 
    systems that have the poll() function but not the ppoll() 
    function

OBS-URL: https://build.opensuse.org/request/show/636351
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=147
2018-09-18 12:51:45 +00:00
b5ce2d1eca Accepting request 633291 from home:mcalabkova:branches:Base:System
- Update to 1.8.25
  * I/O log timing file entries now use a monotonic timer and 
    include nanosecond precision
  * when sudo runs a command in a pseudo-tty, the slave device is 
    now closed in the main process immediately after starting the 
    monitor process
  * the testsudoers utility now supports querying an LDIF-format 
    policy

OBS-URL: https://build.opensuse.org/request/show/633291
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=145
2018-09-06 09:28:17 +00:00
f9a253ec48 Accepting request 630762 from home:mcalabkova:branches:Base:System
- Update to 1.8.24
  * random insults are now more random 
  * added SUDO_CONV_PREFER_TTY flag for conversation function to 
    tell sudo to try writing to /dev/tty first
  * cvtsudoers can now parse base64-encoded attributes in LDIF 
    files

OBS-URL: https://build.opensuse.org/request/show/630762
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=143
2018-08-21 16:07:12 +00:00
60c0ac4137 Accepting request 622342 from home:bmwiedemann:branches:Base:System
Build with make -B to make package build reproducible

e.g. diff had a locale.c vs ./locale.c:

/usr/sbin/visudo differs in ELF section .rodata
@@ -13,8 +13,8 @@ 
  20120 636d6e64 5f616c6c 6f776564 00000000  cmnd_allowed....
  20130 66696e64 5f706174 6800676f 6f647061  find_path.goodpa
  20140 74682e63 00000000 7375646f 5f676f6f  th.c....sudo_goo
- 20150 64706174 68006c6f 63616c65 2e630043  dpath.locale.c.C
- 20160 00000000 00000000 25733a20 75736572  ........%s: user
+ 20150 64706174 68002e2f 6c6f6361 6c652e63  dpath../locale.c
+ 20160 00430000 00000000 25733a20 75736572  .C......%s: user
  20170 206c6f63 616c6520 25732c20 7375646f   locale %s, sudo
  20180 65727320 6c6f6361 6c652025 73000000  ers locale %s...
  20190 25733a20 73657474 696e6720 6c6f6361  %s: setting loca

OBS-URL: https://build.opensuse.org/request/show/622342
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=141
2018-07-20 11:29:06 +00:00
25170bef0d Accepting request 603193 from home:stroeder:branches:Base:System
- Update to 1.8.23
  * primarily a bug fix release
  * new cvtsudoers utility (replaces sudoers2ldif) and converts
    between sudoers formats and perform some basic filtering.
  * removed obsolete sudoers2ldif-env.patch

OBS-URL: https://build.opensuse.org/request/show/603193
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=139
2018-05-03 08:02:38 +00:00
b023d1651d Accepting request 597150 from home:kstreitova:branches:Base:System
- integrate pam_keyinit pam module [bsc#1081947]
  * add sudo-i.pamd PAM configuration file and install it as
    /etc/pam.d/sudo-i
  * add "session optional pam_keyinit.so revoke" to sudo.pamd and
    "session optional pam_keyinit.so force revoke" to sudo-i.pamd
  * add "--with-pam-login" build option to enable specific PAM
    session for "sudo -i"
- make pam configuration files (noreplace)
- reorganize Sources

OBS-URL: https://build.opensuse.org/request/show/597150
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=137
2018-04-17 08:06:20 +00:00
3af71ea9da Accepting request 593440 from home:kukuk:branches:Base:System
- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/593440
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=135
2018-04-09 09:41:40 +00:00
6eb28ea1f9 Accepting request 577967 from home:dimstar:Factory
- Fix sudo prompt: escape %p into %%p to ensure 'p' is not wrapped
  and interpreted as being an rpm variable (boo#1081470).

OBS-URL: https://build.opensuse.org/request/show/577967
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=133
2018-02-19 10:49:40 +00:00
733596dd0b Accepting request 576059 from home:kstreitova:branches:Base:System
- The sudo distribution files are now signed with a new pgp key.
  Refresh sudo.keyring

- Update to 1.8.22 [bsc#1080793]

OBS-URL: https://build.opensuse.org/request/show/576059
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=131
2018-02-13 12:26:57 +00:00
fc0b553ce4 Accepting request 568794 from home:avindra
- Update to 1.8.22
  * Commands run in the background from a script run via sudo will
    no longer receive SIGHUP when the parent exits and I/O logging
    is enabled
  * A particularly offensive insult is now disabled by default
  * The description of sudo -i now correctly documents that the
    env_keep and env_check sudoers options are applied to the
    environment
  * Fixed a crash when the system's host name is not set
  * The sudoers2ldif script now handles #include and #includedir
    directives.
  * Fixed a bug where sudo would silently exit when the command
    was not allowed by sudoers and the passwd_tries sudoers option
    was set to a value less than one.
  * Fixed a bug with the listpw and verifypw sudoers options and
    multiple sudoers sources. If the option is set to all a
    password should be required unless none of a user's sudoers
    entries from any source require authentication.
  * Fixed a bug with the listpw and verifypw sudoers options in
    the LDAP and SSSD back-ends. If the option is set to any and
    the entry contained multiple rules, only the first matching
    rule was checked. If an entry contained more than one matching
    rule and the first rule required authentication but a
    subsequent rule did not, sudo would prompt for a password when
    it should not have.
  * When running a command as the invoking user (not root), sudo
    would execute the command with the same group vector it was
    started with. Sudo now executes the command with a new group
    vector based on the group database which is consistent with how
    su(1) operates.
  * Fixed a double free in the SSSD back-end that could occur when
    ipa_hostname is present in sssd.conf and is set to an unqualified
    host name.
  * When I/O logging is enabled, sudo will now write to the terminal
    even when it is a background process. Previously, sudo would only
    write to the tty when it was the foreground process when I/O
    logging was enabled. If the TOSTOP terminal flag is set, sudo
    will suspend the command (and then itself) with the SIGTTOU signal.
  * A new authfail_message sudoers option that overrides the default
    N incorrect password attempt(s).
  * An empty sudoRunAsUser attribute in the LDAP and SSSD backends
    will now match the invoking user. This is more consistent with
    how an empty runas user in the sudoers file is treated.
  * Documented that in check mode, visudo does not check the owner /
    mode on files specified with the -f flag
  * It is now an error to specify the runas user as an empty string
    on the command line. Previously, an empty runas user was treated
    the same as an unspecified runas user
  * When timestamp_type option is set to tty and a terminal is
    present, the time stamp record will now include the start time
    of the session leader. When the timestamp_type option is set
    to ppid or when no terminal is available, the start time of the
    parent process is used instead. This significantly reduces the
    likelihood of a time stamp record being re-used when a user logs
    out and back in again.
  * The sudoers time stamp file format is now documented in the new
    sudoers_timestamp manual.
  * Visudo will now use the SUDO_EDITOR environment variable (if
    present) in addition to VISUAL and EDITOR. 
- rebase sudoers2ldif-env.patch
- cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/568794
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=130
2018-01-24 11:27:07 +00:00
c2d7e5850a Accepting request 555983 from home:kstreitova:branches:Base:System
- remove sudoers.dist that is not needed [bsc#1071379]

OBS-URL: https://build.opensuse.org/request/show/555983
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=128
2017-12-11 14:43:16 +00:00
4817eb67fb Accepting request 525888 from home:kstreitova:branches:Base:System
- remove "--with-insults" and disable insults by default. Now
  insults sets are included but user must enable it in the sudoers
  file [bsc#1053911]

OBS-URL: https://build.opensuse.org/request/show/525888
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=126
2017-09-15 10:12:27 +00:00
Vítězslav Čížek
d65790fef1 Accepting request 522266 from home:stroeder:branches:Base:System
- update to 1.8.21p2

OBS-URL: https://build.opensuse.org/request/show/522266
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=124
2017-09-08 09:43:33 +00:00
a08fbe3e8f OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=122 2017-06-13 16:29:37 +00:00
Vítězslav Čížek
40ee4d9fc5 Accepting request 500303 from home:stroeder:branches:Base:System
update to 1.8.20p2

OBS-URL: https://build.opensuse.org/request/show/500303
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=120
2017-06-01 13:59:33 +00:00
Vítězslav Čížek
aae3725cc0 Accepting request 499849 from home:simotek:branches:Base:System
Security issue please approve

OBS-URL: https://build.opensuse.org/request/show/499849
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=118
2017-05-30 19:30:20 +00:00
5350e3c426 Accepting request 477147 from home:kstreitova:branches:Base:System
- update sudo in SLE12SP3 to the latest Factory version [fate#322095]
  * remove sudo-1.8.10p3-CVE-2016-7032.patch [bsc#1007766]
    * fixed in sudo 1.8.15
  * remove sudo-1.8.10p3-CVE-2016-7076.patch [bsc#1007501]
    * fixed in sudo 1.8.18p1
  * remove sudo-1.8.10p3-parse_boottime_properly.patch [bsc#899252]
    * fixed in sudo 1.8.14
  * remove sudo-1.8.10p3-user_groups.patch [bsc#988014]
    * fixed in sudo 1.8.17p1
  * remove sudo-1.8.10p3_pam_groups_upstream.patch [fate#318850]
    * fixed in sudo 1.8.17 
  * remove sudo-1.8.10p3-CVE-2014-9680.patch [bsc#917806]
    * fixed in sudo 1.8.12

OBS-URL: https://build.opensuse.org/request/show/477147
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=116
2017-03-08 15:53:23 +00:00
0b246503a9 Accepting request 453650 from home:kstreitova:branches:Base:System
- add sudo-1.8.19p2-decrement_env_len.patch - In 
  sudo_unsetenv_nodebug(), decrement envp.env_len after removing
  the variable [bsc#981124]
- add sudo-1.8.19p2-dont_overwrite_ret_val.patch - don't overwrite
  the return value of ldap_sasl_interactive_bind_s() by the
  subsequent call to sudo_set_krb5_ccache_name() [bsc#981124]

OBS-URL: https://build.opensuse.org/request/show/453650
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=114
2017-02-01 06:48:54 +00:00
c3b3e5cc11 Accepting request 450320 from home:stroeder:branches:Base:System
update to 1.8.19p2

OBS-URL: https://build.opensuse.org/request/show/450320
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=112
2017-01-16 12:29:14 +00:00
e279162d42 Accepting request 448723 from home:kstreitova:branches:Base:System
- add /usr/lib/tmpfiles.d directory to the %files section and fix
  build for SLE12SP2

OBS-URL: https://build.opensuse.org/request/show/448723
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=111
2017-01-05 09:56:38 +00:00
75391bf1c3 Accepting request 447202 from home:stroeder:branches:Base:System
update to 1.8.19p1 (not sure what the deal with /usr/lib/tmpfiles.d on older platforms is)

OBS-URL: https://build.opensuse.org/request/show/447202
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=110
2017-01-02 09:53:20 +00:00
9052eff5a2 Accepting request 437620 from home:stroeder:branches:Base:System
update to 1.8.18p1

OBS-URL: https://build.opensuse.org/request/show/437620
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=108
2016-10-28 16:10:32 +00:00
edcbeba015 Accepting request 429188 from home:stroeder:branches:Base:System
update to upstream release 1.8.18

OBS-URL: https://build.opensuse.org/request/show/429188
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=106
2016-09-28 14:48:20 +00:00
f28eb4234b Accepting request 404091 from home:stroeder:branches:Base:System
update to 1.8.17p1

OBS-URL: https://build.opensuse.org/request/show/404091
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=104
2016-06-23 14:49:06 +00:00
2edf02caab Accepting request 403502 from home:stroeder:branches:Base:System
update to upstream release 1.8.17

OBS-URL: https://build.opensuse.org/request/show/403502
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=103
2016-06-19 21:14:17 +00:00
3f2b10cef4 Accepting request 397383 from home:Dremor:branches:Base:System
Adding localized prompt. Note : This prompt seem to be the only one that have been translated (other than the default one)

OBS-URL: https://build.opensuse.org/request/show/397383
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=101
2016-06-02 15:16:26 +00:00
0844eb2aff Accepting request 396745 from home:kstreitova:branches:Base:System
- add "BuildRequires: cyrus-sasl-devel" to enable SASL
  authentication [bnc#979531]

OBS-URL: https://build.opensuse.org/request/show/396745
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=99
2016-05-21 10:08:11 +00:00
2591981f96 Accepting request 392689 from home:kstreitova:branches:Base:System
- add sudo-1.8.16-pam_groups.patch to do group setup in
  policy_init_session() before calling out to the plugin. This makes
  it possible for the pam_group module to change the group in
  pam_setcred() [fate#318850]

OBS-URL: https://build.opensuse.org/request/show/392689
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=97
2016-04-29 18:42:40 +00:00
e3c141bcbe Accepting request 375498 from home:pluskalm:branches:Base:System
- Add gpg signature
- Use valid category for tests

OBS-URL: https://build.opensuse.org/request/show/375498
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=95
2016-03-21 10:14:29 +00:00
08f8bf6202 Accepting request 374691 from home:stroeder:branches:Base:System
update to 1.8.16

OBS-URL: https://build.opensuse.org/request/show/374691
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=94
2016-03-18 10:09:27 +00:00
Vítězslav Čížek
48dca19f32 Accepting request 342689 from home:kstreitova:branches:Base:System
- update to 1.8.15:
  * Fixed a bug that prevented sudo from building outside the source 
    tree on some platforms. Bug #708.
  * Fixed the location of the sssd library in the RHEL/Centos packages.
    Bug #710.
  * Fixed a build problem on systems that don't implicitly include
    sys/types.h from other header files. Bug #711.
  * Fixed a problem on Linux using containers where sudo would ignore
    signals sent by a process in a different container.
  * Sudo now refuses to run a command if the PAM session module returns
    an error.
  * When editing files with sudoedit, symbolic links will no longer be
    followed by default. The old behavior can be restored by enabling
    the sudoedit_follow option in sudoers or on a per-command basis with
    the FOLLOW and NOFOLLOW tags. Bug #707.
  * Fixed a bug introduced in version 1.8.14 that caused the last valid
    editor in the sudoers "editor" list to be used by visudo and sudoedit
    instead of the first. Bug #714.
  * Fixed a bug in visudo that prevented the addition of a final newline
    to edited files without one.
  * Fixed a bug decoding certain base64 digests in sudoers when the
    intermediate format included a '=' character.
  * Individual records are now locked in the time stamp file instead of
    the entire file. This allows sudo to avoid prompting for a password
    multiple times on the same terminal when used in a pipeline.
    In other words, sudo cat foo | sudo grep bar now only prompts for
    the password once. Previously, both sudo processes would prompt for
    a password, often making it impossible to enter. Bug #705.
  * Fixed a bug where sudo would fail to run commands as a non-root user
    on systems that lack both setresuid() and setreuid(). Bug #713.

OBS-URL: https://build.opensuse.org/request/show/342689
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=92
2015-11-06 12:38:32 +00:00
Vítězslav Čížek
7f2e1861cb Accepting request 322223 from home:jengelh:branches:Base:System
- No need to buildrequire an sssd plugin (libsss_sudo)

OBS-URL: https://build.opensuse.org/request/show/322223
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=90
2015-08-14 10:56:15 +00:00
Vítězslav Čížek
89d972c0f7 Accepting request 322021 from home:dimstar:Factory
- Pass --enable-tmpfiles.d=%{_tmpfilesdir} to configure: let's be
  specific about this feature, and not randomly rely on the
  presence/absence of /usr/lib/tmpfiles.d/systemd.conf.
- Add systemd-rpm-macros BuildRequires to ensure %_tmpfilesdir is
  defined.
- Add relevant %tmpfiles_create call to post scriptlet.

OBS-URL: https://build.opensuse.org/request/show/322021
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=89
2015-08-14 10:55:19 +00:00
685fdbfa5f Accepting request 318161 from home:kstreitova:branches:Base:System
- update to 1.8.14p3:
  * changes in 1.8.14p3
    * Fixed a bug introduced in sudo 1.8.14p2 that prevented sudo 
      from working when no tty was present. Bug #706.
    * Fixed tty detection on newer AIX systems where dev_t is 64-bit.
  * changes in 1.8.14p2
    * Fixed a bug introduced in sudo 1.8.14 that prevented the
      lecture file from being created. Bug #704.
  * changes in 1.8.14p1
    * Fixed a bug introduced in sudo 1.8.14 that prevented the sssd
      backend from working. Bug #703.
  * changes in 1.8.14
    * Log messages on Mac OS X now respect sudoers_locale when sudo
      is build with NLS support.
    * The sudo manual pages now pass mandoc -Tlint with no warnings.
    * Fixed a compilation problem on systems with the sig2str()
      function that do not define SIG2STR_MAX in signal.h.
    * Worked around a compiler bug that resulted in unexpected
      behavior when returning an int from a function declared to
      return bool without an explicit cast.
    * Worked around a bug in Mac OS X 10.10 BSD auditing where the
      au_preselect() fails for AUE_sudo events but succeeds for 
      AUE_DARWIN_sudo.
    * Fixed a hang on Linux systems with glibc when sudo is linked
      with jemalloc.
    * When the user runs a command as a user ID that is not present
      in the password database via the -u flag, the command is now
      run with the group ID of the invoking user instead of group ID 0.
    * Fixed a compilation problem on systems that don't pull in
      definitions of uid_t and gid_t without sys/types.h or unistd.h.

OBS-URL: https://build.opensuse.org/request/show/318161
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=87
2015-07-24 11:38:45 +00:00
9996afbfb6 Accepting request 317992 from home:elvigia:branches:Base:System
- BuildRequires zlib-devel, support zlib compressed I/O logs.

OBS-URL: https://build.opensuse.org/request/show/317992
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=85
2015-07-23 08:10:43 +00:00
Stephan Kulow
56894f6274 Accepting request 307129 from home:vitezslav_cizek:branches:Base:System
- update to 1.8.13
 * The examples directory is now a subdirectory of the doc dir to
   conform to Debian guidelines.  Bug #682.
 * Fixed a compilation error for siglist.c and signame.c on some
   systems.  Bug #686
 * Weak symbols are now used for sudo_warn_gettext() and
   sudo_warn_strerror() in libsudo_util to avoid link errors when
   -Wl,--no-undefined is used in LDFLAGS.  The --disable-weak-symbols
   configure option can be used to disable the user of weak symbols.
 * Fixed a bug in sudo's mkstemps() replacement function that
   prevented the file extension from being preserved in sudoedit.
 * A new mail_all_cmnds sudoers flag will send mail when a user runs
   a command (or tries to). The behavior of the mail_always flag has
   been restored to always send mail when sudo is run.
 * New "MAIL" and "NOMAIL" command tags have been added to toggle
   mail sending behavior on a per-command (or Cmnd_Alias) basis.
 * Fixed matching of empty passwords when sudo is configured to
   use passwd (or shadow) file authentication on systems where the
   crypt() function returns NULL for invalid salts.
 * The "all" setting for listpw and verifypw now works correctly
   with LDAP and sssd sudoers.
 * The sudo timestamp directory is now created at boot time on
   platforms that use systemd.
 * Sudo will now restore the value of the SIGPIPE handler before
   executing the command.
 * Sudo now uses "struct timespec" instead of "struct timeval" for
   time keeping when possible.  If supported, sudoedit and visudo
   now use nanosecond granularity time stamps.
 * Fixed a symbol name collision with systems that have their own
   SHA2 implementation.  This fixes a problem where PAM could use

OBS-URL: https://build.opensuse.org/request/show/307129
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=83
2015-05-16 05:20:18 +00:00
234260b2dd Accepting request 287223 from home:vitezslav_cizek:branches:Base:System
- update to 1.8.12 (fixes bnc#918953)
- changelog:
  * The embedded copy of zlib has been upgraded to version 1.2.8 and
    is now installed as a shared library where supported.
  * Debug settings for the sudo front end and sudoers plugin are now configured separately.
  * Multiple sudo.conf Debug entries may now be specified per program (or plugin).
  * The plugin API has been extended such that the path to the plugin
    that was loaded is now included in the settings array. This path
    can be used to register with the debugging subsystem. The debug_flags
    setting is now prefixed with a file name and may be specified multiple
    times if there is more than one matching Debug setting in sudo.conf.
  * The sudoers regression tests now run with the locale set to C since
    some of the tests compare output that includes locale-specific messages. Bug #672.
  * Fixed a bug where sudo would not run commands on Linux when compiled
    with audit support if audit is disabled. Bug #671.
  * The default password prompt now includes a trailing space after
    "Password:" for consistency with su(1) on most systems. Bug #663.
  * Visudo will now use the optional sudoers_file, sudoers_mode,
    sudoers_uid and sudoers_gid arguments if specified on the sudoers.so Plugin line in the sudo.conf file.
  * Fixed a problem introduced in sudo 1.8.8 that prevented the full
    host name from being used when the fqdn sudoers option is used. Bug #678.
  * Sudo now installs a handler for SIGCHLD signal handler immediately
    before stating the process that will execute the command (or start the monitor).
  * Removed a limit on the length of command line arguments expanded by
    a wild card using sudo's version of the fnmatch() function.
    This limit was introduced when sudo's version of fnmatch() was replaced in sudo 1.8.4.
  * LDAP-based sudoers can now query an LDAP server for a user's netgroups
    directly. This is often much faster than fetching every sudoRole object
    containing a sudoUser that begins with a `+' prefix and checking
    whether the user is a member of any of the returned netgroups.

OBS-URL: https://build.opensuse.org/request/show/287223
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=81
2015-02-22 19:18:26 +00:00
b1b8a9f152 Accepting request 265535 from home:vitezslav_cizek:branches:Base:System
- correctly parse /proc/stat for boottime (bnc#899252)
  * added sudo-parse_boottime_properly.patch from Debian

OBS-URL: https://build.opensuse.org/request/show/265535
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=79
2014-12-18 14:02:26 +00:00
647b4ec060 Accepting request 260185 from home:fstrba
Update to the latest release

OBS-URL: https://build.opensuse.org/request/show/260185
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=77
2014-11-07 12:50:48 +00:00
Stephan Kulow
6b58d604a8 Accepting request 255758 from home:tabraham1:branches:Base:System
update to sudo-1.8.11p1

OBS-URL: https://build.opensuse.org/request/show/255758
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=75
2014-10-16 06:00:36 +00:00
Stephan Kulow
8540c79227 Accepting request 234191 from home:vitezslav_cizek:branches:Base:System
- update to 1.8.10p3
  * Fixed expansion of the %p escape in the prompt for "sudo -l"
    when rootpw, runaspw or targetpw is set. Bug #639.
  * Fixed matching of uids and gids which was broken in version 1.8.9
  * PAM credential initialization has been re-enabled. It was
    unintentionally disabled by default in version 1.8.8. The way
    credentials are initialized has also been fixed. Bug #642.
  * Fixed a descriptor leak on Linux when determing boot time. Sudo
    normally closes extra descriptors before running a command so
    the impact is limited. Bug #645.
  * Fixed flushing of the last buffer of data when I/O logging is
    enabled. This bug, introduced in version 1.8.9, could cause
    incomplete command output on some systems. Bug #646.
  * Fixed a hang introduced in sudo 1.8.10 when timestamp_timeout
    is set to zero. Bug #638.
- don't install test LICENSE with executable perms

OBS-URL: https://build.opensuse.org/request/show/234191
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=73
2014-05-15 17:33:09 +00:00
Stephan Kulow
c78d53b990 Accepting request 225988 from home:vitezslav_cizek:branches:Base:System
- update to 1.8.10p1
  * Fixed a bug with netgated commands in "sudo -l command" that
    could cause the command to be listed even when it was explicitly
    denied. This only affected list mode when a command was specified.
    Bug #636.
  * It is now possible to disable network interface probing in sudo.conf
    by changing the value of the probe_interfaces setting.
  * When listing a user's privileges (sudo -l), the sudoers plugin
    will now prompt for the user's password even if the targetpw,
    rootpw or runaspw options are set.
  * The sudoers plugin uses a new format for its time stamp files.
    Bug #616.
  * sudo's -K option will now remove all of the user's time stamps,
    not just the time stamp for the current terminal.
    The -k option can be used to only disable time stamps for
    the current terminal.
  * If sudo was started in the background and needed to prompt for a
    password, it was not possible to suspend it at the password prompt
  * LDAP-based sudoers now uses a default search filter of
    (objectClass=sudoRole) for more efficient queries.
    The netgroup query has been modified to avoid falling below the
    minimum length for OpenLDAP substring indices.
  * The new use_netgroups sudoers option can be used to explicitly
    enable or disable netgroups support. For LDAP-based sudoers,
    netgroup support requires an expensive substring match on the server.
    If netgroups are not needed, this option can be disabled to
    reduce the load on the LDAP server.
  * Sudo is once again able to open the sudoers file when the group
    on sudoers doesn't match the expected value, so long as the
    file is not group writable.

OBS-URL: https://build.opensuse.org/request/show/225988
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=71
2014-03-15 06:41:25 +00:00
Stephan Kulow
2e20424a47 Accepting request 215868 from home:vitezslav_cizek:branches:Base:System
- added subpackage with a test for fate#313276

OBS-URL: https://build.opensuse.org/request/show/215868
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=69
2014-02-02 18:13:19 +00:00
Vítězslav Čížek
9d9232ee84 Accepting request 215575 from home:vitezslav_cizek:branches:Base:System
- update to 1.8.9p4
  * Fixed a bug where sudo could consume large amounts of CPU while
    the command was running when I/O logging is not enabled.
    Bug #631 (bnc#861153)
  * Fixed a bug where sudo would exit with an error when the debug
    level is set to util@debug or all@debug and I/O logging is not
    enabled. The command would continue runnning after sudo exited.

OBS-URL: https://build.opensuse.org/request/show/215575
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=67
2014-01-29 19:59:03 +00:00
27d016fa1b Accepting request 213857 from home:vitezslav_cizek:branches:Base:System
- update to 1.8.9p3
- set secure_path to /usr/sbin:/usr/bin:/sbin:/bin
- changes since 1.8.8:
  * Fixed a bug introduced in sudo 1.8.9 that prevented the tty name
    from being resolved properly on Linux systems.  Bug #630.
  * Updated config.guess, config.sub and libtool to support the ppc64le
    architecture (IBM PowerPC Little Endian).
  * Fixed a problem with gcc 4.8's handling of bit fields that could
    lead to the noexec flag being enabled even when it was not
    explicitly set.
  * Reworked sudo's main event loop to use a simple event subsystem
    using poll(2) or select(2) as the back end.
  * It is now possible to statically compile the sudoers plugin into
    the sudo binary without disabling shared library support.  The
    sudo.conf file may still be used to configure other plugins.
  * Sudo can now be compiled again with a C preprocessor that does
    not support variadic macros.
  * Visudo can now export a sudoers file in JSON format using the
    new -x flag.
  * The locale is now set correctly again for visudo and sudoreplay.
  * The plugin API has been extended to allow the plugin to exclude
    specific file descriptors from the "closefrom" range.
  * There is now a workaround for a Solaris-specific problem where
    NOEXEC was overriding traditional root DAC behavior.
  * Add user netgroup filtering for SSSD. Previously, rules for
    a netgroup were applied to all even when they did not belong
    to the specified netgroup.
  * On systems with BSD login classes, if the user specified a group
    (not a user) to run the command as, it was possible to specify
    a different login class even when the command was not run as the

OBS-URL: https://build.opensuse.org/request/show/213857
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=65
2014-01-15 10:13:18 +00:00
cf6621d369 Accepting request 202594 from home:vitezslav_cizek:branches:Base:System
- update to 1.8.8
- drop sudo-plugins-sudoers-sssd.patch (upstream)
  * Removed a warning on PAM systems with stacked auth modules
    where the first module on the stack does not succeed.
  * Sudo, sudoreplay and visudo now support GNU-style long options.
  * The -h (--host) option may now be used to specify a host name.
    This is currently only used by the sudoers plugin in conjunction
    with the -l (--list) option.
  * Sudo's LDAP SASL support now works properly with Kerberos.
    Previously, the SASL library was unable to locate the user's
    credential cache.
  * It is now possible to set the nproc resource limit to unlimited
    via pam_limits on Linux (bug #565).
  * New "pam_service" and "pam_login_service" sudoers options
    that can be used to specify the PAM service name to use.
  * New "pam_session" and "pam_setcred" sudoers options that
    can be used to disable PAM session and credential support.
  * The sudoers plugin now properly supports UIDs and GIDs
    that are larger than 0x7fffffff on 32-bit platforms.
  * Fixed a visudo bug introduced in sudo 1.8.7 where per-group
    Defaults entries would cause an internal error.
  * If the "tty_tickets" sudoers option is enabled (the default),
    but there is no tty present, sudo will now use a ticket file
    based on the parent process ID.  This makes it possible to support
    the normal timeout behavior for the session.
  * Fixed a problem running commands that change their process
    group and then attempt to change the terminal settings when not
    running the command in a pseudo-terminal.  Previously, the process
    would receive SIGTTOU since it was effectively a background
    process.  Sudo will now grant the child the controlling tty and

OBS-URL: https://build.opensuse.org/request/show/202594
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=63
2013-10-08 15:16:17 +00:00
f2a6be94a4 Accepting request 182920 from home:vitezslav_cizek:branches:Base:System
- fix the default flag settings in manual to reflect changes caused by
  sudo-sudoers.patch (bnc#823292)

OBS-URL: https://build.opensuse.org/request/show/182920
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=61
2013-07-12 14:58:55 +00:00
3c05058870 Accepting request 182674 from home:deadpoint:branches:Base:System
- Added patch to resolve packaging error. Patch has been sent
  upstream.
  * E: sudo 64bit-portability-issue ./sssd.c:829

- Enable SSSD as a sudoers data source

OBS-URL: https://build.opensuse.org/request/show/182674
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=59
2013-07-10 11:58:09 +00:00
313affb53e * remove CVE-2013-1775
* remove CVE-2013-1776
  * The non-Unix group plugin is now supported when sudoers data is stored in LDAP.
  * User messages are now always displayed in the user's locale, even when the
  same message is being logged or mailed in a different locale.  
  * Log files created by sudo now explicitly have the group set to group ID 0
  rather than relying on BSD group semantics (which may not be the default).
  * A new exec_background sudoers option can be used to initially run the 
  command without read access to the terminal when running a command in a 
  pseudo-tty. 
  * Sudo now produces better error messages when there is an error in the sudo.conf file.
  * Two new settings have been added to sudo.conf to give the admin better control of 
  how group database queries are performed.
  * There is now a standalone sudo.conf manual page.
  * New support for specifying a SHA-2 digest along with the command in sudoers.
  Supported hash types are sha224, sha256, sha384 and sha512. See the description
  of Digest_Spec in the sudoers manual or the description of sudoCommand in the
  sudoers.ldap manual for details.
  * Fixed potential false positives in visudo's alias cycle detection.
  * Sudo now only builds Position Independent Executables (PIE) by default on Linux
  systems and verifies that a trivial test program builds and runs.

OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=56
2013-07-02 16:36:04 +00:00