Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: sysuser-shadow | Distribution: SUSE Linux 16 |
Version: 3.3 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: 160000.1.1 | Build date: Mon Jan 27 17:41:20 2025 |
Group: System/Packages | Build host: reproducible |
Size: 3102 | Source RPM: sysuser-tools-3.3-160000.1.1.src.rpm |
Packager: https://www.suse.com/ | |
Summary: Tool to execute sysusers.d with shadow utilities |
This package contians a tool, which expects as input a sysusers.d configuration file and uses the shadow suite to create the users and groups from it like systemd-sysusers would do.
MIT
* Mon Jan 27 2025 kukuk@suse.com - Add support for "u!" with useradd (shadow). busybox has no support for account/password expiration * Wed Dec 11 2024 kukuk@suse.com - Directly check return value of systemd-sysusers * Mon Dec 09 2024 kukuk@suse.com - Drop SLE15 support and remove disable-systemd-sysusers.patch * Mon Dec 09 2024 kukuk@suse.com - sysuser-shadow: remove systemd 238 dependency, this does not work in a single RPM transaction [bsc#1234277]. Call systemd-sysuser instead again without --replace. * Wed Aug 07 2024 kukuk@suse.com - Remove check for .buildenv to see failures in OBS * Wed Aug 07 2024 kukuk@suse.com - usermod: revert renamed arguments * Mon Aug 05 2024 kukuk@suse.com - Implement UID:GID support for busybox - Reenable UID:GID support * Sat Aug 03 2024 kukuk@suse.com - Disable UID:GID support for now * Fri Aug 02 2024 kukuk@suse.com - UID:GID: don't create group with GID if it does not exist * Fri Aug 02 2024 kukuk@suse.com - Rewrite UID:GID support to work with busybox and fix it for useradd * Mon Jul 01 2024 jweberhofer@weberhofer.at - Allow setting of UID:GID for as defined in sysusers.d * Tue Nov 07 2023 dimstar@opensuse.org - Fix build with RPM 4.19: unnumbered patches are no longer supported. * Tue Jul 18 2023 olaf@aepfle.de - Version 3.2 - update sysusers_requires to request sysuser-shadow 3.2 - Use TAB consistently for indention in sysusers2shadow.sh - This pkg needs to follow behavior which is described in sysusers.d(5). Always create a system group of the same name as the system user, even if the user already exists. (bsc#1205161, bsc#1207778, bsc#1213240) * Mon Jul 17 2023 olaf@aepfle.de - Add "quilt setup" friendly hint to %sysusers_requires usage It is not required to have sysuser-tools installed when working with a pkg source which uses sysuser-tools at build time. * Tue Sep 06 2022 gmbr3@opensuse.org - Use append so if a pre file already exists it isn't overridden * Tue Feb 01 2022 dmueller@suse.com - invoke bash for bash scripts (bsc#1195391) * Fri Nov 26 2021 kukuk@suse.com - Disable systemd-sysuser on SLE15 to stay compatible (disable-systemd-sysusers.patch) * Wed Sep 08 2021 kukuk@suse.com - Add support for new shell field [bsc#1189518] * Thu Jul 15 2021 kukuk@suse.com - Use /bin/bash for sysusers-generate-pre * Tue Jun 29 2021 dcermak@suse.com - Remove usage of grep from sysusers-generate-pre - Add a simple test of sysusers-generate-pre to %check * Mon Jun 21 2021 dimstar@opensuse.org - Bump version up to 3.1. The --replace parameter only appeared in systemd 238, so we need to ensure to get the update order correct for sysuser-generate when using the 3rd command line parameters: * systemd -> sysuser-tools -> system-{user|group}-FOO. - Add dependency on systemd >=238 if systemd is installed to sysuser-shadow - update sysuser_requires to request sysuser-shadow 3.1 * Mon Jun 07 2021 kukuk@suse.com - Support systemd-sysusers --replace=/usr/lib/sysusers.d/ option - sysusers-generate-pre: only use first argument for grep - sysusers2shadow.sh: use "run" prefix for systemd-sysusers call - macros.sysusers: fix typo * Sat May 08 2021 gmbr3@opensuse.org - Use /usr/sbin/nologin instead of /sbin/nologin * Mon Feb 15 2021 kukuk@suse.com - Don't abort on unbound first argument * Thu Feb 11 2021 kukuk@suse.com - Remove sysusers/nscd workaround * Fri Jan 29 2021 kukuk@suse.com - Use systemd-sysusers only if /proc is mounted, don't require it * Wed Jan 27 2021 kukuk@suse.com - Set --replace option for systemd-sysusers * Wed Jan 20 2021 kukuk@suse.com - Ignore nscd return code * Tue Jan 19 2021 kukuk@suse.com - If systemd-sysusers is used to create a new user/group, invalidate the nscd passwd and group cache to make the new user/group visible immediately as workaround [bsc#1181121]. Needs to be removed after sytemd-sysusers get's fixed, since we invalidate the cache even if the user/group file wasn't changed. * Sun Jan 17 2021 kukuk@suse.com - An "u" in a sysusers.d file will create an user and a group. Create provides for both, user and group. * Thu Jan 14 2021 kukuk@suse.com - Use systemd-sysusers as default to create and update the user account. Fixes the problem that a modified sysusers config file get's ignored by useradd and adduser [bsc#1180549]. * Fri Dec 04 2020 lnussel@suse.de - useradd_or_adduser_dep must be PreReq so ordering makes sure it gets installed before. - suggest shadow where useradd_or_adduser_dep is actually required * Fri Sep 18 2020 fvogt@suse.com - Avoid useless use of cat - Simplify %sysusers_requires - Drop shebang, rpm passes it to /bin/sh itself * Fri Aug 21 2020 kukuk@suse.com - Packages providing users need /usr/bin/cat installed to create them. Add that to the PreRequires. * Fri Aug 21 2020 kukuk@suse.com - Create system groups for system users * Wed Mar 25 2020 fvogt@suse.com - Fix bug introduced by simplification of check for useradd -g - Refactor use of sed away * Tue Mar 24 2020 fvogt@suse.com - Use eval set -- $LINE instead of read for parsing * Fri Mar 20 2020 fvogt@suse.com - Clean up sysusers2shadow and make it use only /bin/sh - Don't let busybox adduser create the home directory, it breaks permissions of e.g. /sbin (home of daemon) - Use only /bin/sh in sysusers-generate-pre and the generated code * Tue Mar 17 2020 fvogt@suse.com - Drop use of tail from the generated %pre scriptlets * Sun Dec 29 2019 kukuk@suse.de - Look for /bin/busybox, too - Add special handling for busybox and groups * Fri Jul 26 2019 kukuk@suse.de - Use suggests shadow to prefer that over busybox in normal systems * Thu Jul 25 2019 kukuk@suse.de - Add support for busybox adduser/addgroup - Change requirements from shadow to useradd_or_adduser_dep * Thu May 09 2019 kukuk@suse.de - Fix default home directory [bsc#1105934] - Use _rpmmacrodir for macro file * Mon Oct 09 2017 dimstar@opensuse.org - Further enhance sysusers-generate-pre: inside the build environment, it can be acceptable to be failing to create the users (e.g when building sysuser-tools or system-user-root, since those two packages have to be speificallty excluded). Always return with error code 0 if /.buildenv exists. * Wed Sep 27 2017 dimstar@opensuse.org - sysusers2shadow.sh: Exit if one of the useradd/groupadd/usermod call fails: the resulting system is quite undefined if this should happen. - sysusers-generate-pre: exit the pre script with the exit code of sysusers2shadow.sh. * Mon Jun 19 2017 kukuk@suse.de - sysuser-tools needs to require sysuser-shadow * Mon Jun 19 2017 kukuk@suse.de - Add requires for shadow to sysuser-shadow * Sun Jun 18 2017 kukuk@suse.de - Put helper script into own subpackage * Sat Jun 17 2017 kukuk@suse.de - Convert sysusers config file to shadow arguments and use shadow suite to create user and groups. Fixes [bsc#1041497] and serveral dependency loops. * Tue May 30 2017 kukuk@suse.de - Don't ignore errors of systemd-sysusers [bsc#1039708] * Wed Mar 15 2017 kukuk@suse.de - Don't remove 'm' and 'r' entries from sysusers configuration * Fri Jan 20 2017 kukuk@suse.de - Add macros.sysusers * Wed Dec 21 2016 lnussel@suse.de - initial package
/usr/sbin/sysusers2shadow
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Mar 9 19:20:43 2025