Accepting request 828489 from home:kukuk:branches:Base:System
- Create system groups for system users OBS-URL: https://build.opensuse.org/request/show/828489 OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=27
This commit is contained in:
parent
d7b80fccdd
commit
2f98125200
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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