Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sysuser-tools for openSUSE:Factory checked in at 2025-01-29 16:10:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sysuser-tools (Old) and /work/SRC/openSUSE:Factory/.sysuser-tools.new.2316 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sysuser-tools" Wed Jan 29 16:10:06 2025 rev:33 rq:1240735 version:3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/sysuser-tools/sysuser-tools.changes 2024-12-20 15:24:54.317892153 +0100 +++ /work/SRC/openSUSE:Factory/.sysuser-tools.new.2316/sysuser-tools.changes 2025-01-29 16:10:20.979393469 +0100 @@ -1,0 +2,6 @@ +Mon Jan 27 16:41:20 UTC 2025 - Thorsten Kukuk <ku...@suse.com> + +- Add support for "u!" with useradd (shadow). busybox has no + support for account/password expiration + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysuser-tools.spec ++++++ --- /var/tmp/diff_new_pack.H7ddkY/_old 2025-01-29 16:10:21.899431622 +0100 +++ /var/tmp/diff_new_pack.H7ddkY/_new 2025-01-29 16:10:21.899431622 +0100 @@ -1,7 +1,7 @@ # # spec file for package sysuser-tools # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ sysusers2shadow.sh ++++++ --- /var/tmp/diff_new_pack.H7ddkY/_old 2025-01-29 16:10:21.983435106 +0100 +++ /var/tmp/diff_new_pack.H7ddkY/_new 2025-01-29 16:10:21.987435271 +0100 @@ -46,7 +46,11 @@ fi fi ;; - u) + u|u\!) + if [ "${1}" = "u!" ]; then + EXPIRE_DATE="1970-01-02" + fi + shift ARGUMENTS="$1" @@ -89,6 +93,9 @@ fi run /usr/sbin/useradd -r -c "$3" -d "${homedir}" $ARGUMENTS + if [ -n "$EXPIRE_DATE" ]; then + TZ=UTC chage -E "$EXPIRE_DATE" "$1" + fi elif [ -x "$busybox" ]; then if [ -n "$GROUP_ID" ] && [ "$GROUP_ID" != "-" ]; then run $busybox adduser -S -H -g "$3" -G "GROUP_ID" -h "${homedir}" $ARGUMENTS