<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/admin/sudo, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-08-10T17:17:56Z</updated>
<entry>
<title>sudo: add test-version.sh and stop running sudo in tests</title>
<updated>2026-08-10T17:17:56Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-08-10T09:41:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8c8875c1f6f8eb11ca504f2abb3145c960a59081'/>
<id>urn:sha1:8c8875c1f6f8eb11ca504f2abb3145c960a59081</id>
<content type='text'>
PKG_VERSION substitutes p-&gt;_p (1.9.17_p2) for a valid apk version, but the
binaries print the real 1.9.17p2, so the generic per-executable version
probe reports "no executables provided version" and fails. Add a
test-version.sh that matches the version string compiled into the binary.

Executing sudo under QEMU emulation (e.g. mips_24kc) hangs indefinitely, so
neither test-version.sh nor test.sh runs it any more: the version is read
from the binary and test.sh only checks the installed files.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>sudo: drop 020-no-owner-change.patch for a make override</title>
<updated>2026-08-10T17:17:56Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-08-09T10:00:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=bfb4cce23ac9eff565d2bcd0fa57c6685326d5d9'/>
<id>urn:sha1:bfb4cce23ac9eff565d2bcd0fa57c6685326d5d9</id>
<content type='text'>
The patch blanked INSTALL_OWNER in Makefile.in so the staged install does
not chown to install_uid/install_gid, which fails when building as an
unprivileged user. sudo already supports this: the top-level install rule
recurses with "INSTALL_OWNER=$(INSTALL_OWNER)" into every sub-make, and
sudo's own "package" target does "make install INSTALL_OWNER=" for exactly
this fakeroot case. Pass INSTALL_OWNER= via MAKE_INSTALL_FLAGS instead of
carrying a patch.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>sudo: create sudo group</title>
<updated>2026-08-07T10:34:12Z</updated>
<author>
<name>Michael Pfeifroth</name>
</author>
<published>2026-08-04T15:25:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=6b5954ef81534f775510a03ef2b529df4f634e42'/>
<id>urn:sha1:6b5954ef81534f775510a03ef2b529df4f634e42</id>
<content type='text'>
Add a 'sudo' system group at package-install time using the USERID
mechanism.

Rationale: sudoers configurations that grant privileges to the 'sudo'
group -- the near-universal Debian/Ubuntu idiom, e.g.

    %sudo ALL=(ALL:ALL) NOPASSWD: ALL

-- fail silently on OpenWrt today because no 'sudo' group exists in
/etc/group.  sudo(8) logs 'unknown group: sudo' and the rule is skipped.
Users also cannot 'usermod -aG sudo &lt;user&gt;' without the group present,
so there is no straightforward way to delegate root without hand-editing
/etc/group or writing per-user sudoers snippets.

Seeding the group here matches how OpenWrt already handles other
service accounts (chrony, dbus, ntpd, ...): the USERID mechanism
creates them lazily via add_group_and_user in the postinst script.

No privileges are granted by default -- an administrator still has to
add users to the group and ship a sudoers rule that references it.

No numeric GID is pinned. The group name is what sudoers, addgroup(1),
and getgrnam() operate on; the numeric GID is invisible to sudo's
authorisation path and matters only for on-disk group ownership
metadata (e.g. 'chgrp sudo' persisted to shared storage) -- something
this package does not do. Letting add_group_and_user pick a dynamic
GID in the 32768+ range keeps sudo out of base-files' reserved
low-range group space and avoids any name-vs-number collision debate.

Bump PKG_RELEASE.

Signed-off-by: Michael Pfeifroth &lt;micpf@westermo.com&gt;
</content>
</entry>
<entry>
<title>sudo: bump to version 1.9.17p2</title>
<updated>2025-08-12T18:56:54Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2025-08-07T09:05:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=1e391d05205275c4f6304cf3c2595bf301726605'/>
<id>urn:sha1:1e391d05205275c4f6304cf3c2595bf301726605</id>
<content type='text'>
This change bumps sudo to version 1.9.17p2

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>sudo: Fix license file</title>
<updated>2025-07-18T14:24:46Z</updated>
<author>
<name>Jan Kardell</name>
</author>
<published>2025-07-14T09:47:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=7841c67092b0cb7cda8decf369daf96a8c5de9f4'/>
<id>urn:sha1:7841c67092b0cb7cda8decf369daf96a8c5de9f4</id>
<content type='text'>
Signed-off-by: Jan Kardell &lt;jan.kardell@telliq.com&gt;
</content>
</entry>
<entry>
<title>sudo: adjust with glibc and libcrypt-compat</title>
<updated>2025-07-14T08:40:15Z</updated>
<author>
<name>Konstantin Demin</name>
</author>
<published>2025-07-04T07:51:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=579ddaf99814297e25ae79403c1f22f7a8e709d7'/>
<id>urn:sha1:579ddaf99814297e25ae79403c1f22f7a8e709d7</id>
<content type='text'>
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin &lt;rockdrilla@gmail.com&gt;
</content>
</entry>
<entry>
<title>sudo: bump to version 1.9.17p1</title>
<updated>2025-07-11T16:41:31Z</updated>
<author>
<name>Jan Kardell</name>
</author>
<published>2025-07-10T13:35:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b153b6a034414532535c9dc0e4f4ede27861dc89'/>
<id>urn:sha1:b153b6a034414532535c9dc0e4f4ede27861dc89</id>
<content type='text'>
Fixes: CVE-2025-32462
Fixes: CVE-2025-32463

Signed-off-by: Jan Kardell &lt;jan.kardell@telliq.com&gt;
</content>
</entry>
<entry>
<title>sudo: bump to version 1.9.16p2</title>
<updated>2024-12-25T19:33:31Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2024-12-25T07:22:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=190b99b1bcfe8578a1c1fdde491bf6ab54b1f76b'/>
<id>urn:sha1:190b99b1bcfe8578a1c1fdde491bf6ab54b1f76b</id>
<content type='text'>
Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>sudo: modify version to Alpine Linux one</title>
<updated>2024-08-17T01:40:31Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2024-08-12T02:13:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ed1f025a98e885d20e28729f00e2d176524f79bf'/>
<id>urn:sha1:ed1f025a98e885d20e28729f00e2d176524f79bf</id>
<content type='text'>
The goal here is compatibility with APK.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>admin/sudo: fix PKG_CPE_ID</title>
<updated>2024-02-02T21:35:50Z</updated>
<author>
<name>Fabrice Fontaine</name>
</author>
<published>2024-02-02T19:18:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=253944fc6255c9984d52a0bea82a4f95926fb554'/>
<id>urn:sha1:253944fc6255c9984d52a0bea82a4f95926fb554</id>
<content type='text'>
sudo_project:sudo is a better CPE ID than todd_miller:sudo as this CPE
ID has the latest CVEs (whereas todd_miller:sudo only has CVEs up to
2016):
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:sudo_project:sudo

Fixes: 8ce9f30c421255c514b1b2e41fc92eafd7976583 (sudo: Update to 1.8.24)

Signed-off-by: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
</content>
</entry>
</feed>
