diff --git a/system-user-root.changes b/system-user-root.changes index ce89c6c..9174511 100644 --- a/system-user-root.changes +++ b/system-user-root.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 4 13:14:06 UTC 2022 - Thorsten Kukuk + +- Add /bin/bash as shell for root to sysusers.d config +- Add trusted group to sysusers.d config, too. + ------------------------------------------------------------------- Mon May 13 12:38:32 UTC 2019 - Fabian Vogt diff --git a/system-user-root.conf b/system-user-root.conf index d2eb4e3..bb9ebcf 100644 --- a/system-user-root.conf +++ b/system-user-root.conf @@ -1,11 +1,14 @@ -# Type Name ID GECOS [HOME] +# Type Name ID GECOS HOME SHELL # The superuser g root 0 - -u root 0 root /root +u root 0 root /root /bin/bash # Group owner of /etc/shadow g shadow 15 - +# Group trusted to avoid cycles with permissions package +g trusted 42 - + # Default group for normal users g users 100 - diff --git a/system-user-root.spec b/system-user-root.spec index f4e4834..2979078 100644 --- a/system-user-root.spec +++ b/system-user-root.spec @@ -1,7 +1,7 @@ # # spec file for package system-user-root # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -37,7 +37,6 @@ Provides: user(root) This package provides the root account including the groups root, shadow and users. - %prep %setup -q -c -T