forked from pool/sysuser-tools
Accepting request 828540 from Base:System
- Packages providing users need /usr/bin/cat installed to create them. Add that to the PreRequires. (forwarded request 828539 from kukuk) OBS-URL: https://build.opensuse.org/request/show/828540 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysuser-tools?expand=0&rev=10
This commit is contained in:
commit
3a76febc55
@ -14,7 +14,7 @@
|
||||
###
|
||||
|
||||
# This is for useradd/usermod/groupadd
|
||||
%sysusers_requires Requires(pre): useradd_or_adduser_dep sysuser-shadow \
|
||||
%sysusers_requires Requires(pre): useradd_or_adduser_dep sysuser-shadow /usr/bin/cat \
|
||||
Suggests: shadow
|
||||
|
||||
%sysusers_generate_pre() \
|
||||
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 21 15:09:13 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Packages providing users need /usr/bin/cat installed to create
|
||||
them. Add that to the PreRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 21 12:43:43 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Create system groups for system users
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 25 07:53:55 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
|
@ -58,7 +58,7 @@ do
|
||||
run /usr/sbin/useradd -r -s /sbin/nologin -c "$3" -d "${homedir}" $ARGUMENTS
|
||||
fi
|
||||
elif [ -x "$busybox" ]; then
|
||||
/usr/bin/getent group "$1" >> /dev/null || $busybox addgroup "$1"
|
||||
/usr/bin/getent group "$1" >> /dev/null || $busybox addgroup -S "$1"
|
||||
|
||||
if ! /usr/bin/getent passwd "$1" >> /dev/null; then
|
||||
run $busybox adduser -S -H -s /sbin/nologin -g "$3" -G "$1" -h "${homedir}" $ARGUMENTS
|
||||
|
Loading…
Reference in New Issue
Block a user