- Add /bin/bash as shell for root to sysusers.d config

- Add trusted group to sysusers.d config, too.

OBS-URL: https://build.opensuse.org/package/show/Base:System/system-user-root?expand=0&rev=7
This commit is contained in:
Thorsten Kukuk 2022-02-04 13:20:04 +00:00 committed by Git OBS Bridge
parent 6235f699f7
commit f6afb913b0
3 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 4 13:14:06 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- 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 <fvogt@suse.com>

View File

@ -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 -

View File

@ -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