From 9f2afed209215b060ef813cb01ce29903c18f935fb160075959b819c5d1a109c Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 7 Feb 2020 11:57:08 +0000 Subject: [PATCH] - added a reference to bsc#1162951 about the reasoning why adding the vnc user to the shadow group OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=173 --- tigervnc.changes | 6 ++++++ tigervnc.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tigervnc.changes b/tigervnc.changes index 37b91f2..fb7cb03 100644 --- a/tigervnc.changes +++ b/tigervnc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 7 11:55:20 UTC 2020 - Stefan Dirsch + +- added a reference to bsc#1162951 about the reasoning why adding + the vnc user to the shadow group + ------------------------------------------------------------------- Wed Jan 15 11:42:20 UTC 2020 - Stefan Dirsch diff --git a/tigervnc.spec b/tigervnc.spec index 1dc1ed6..4a4b832 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -1,7 +1,7 @@ # # spec file for package tigervnc # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -407,6 +407,8 @@ fi getent group %{vncgroup} > /dev/null || groupadd -r %{vncgroup} || : getent passwd %{vncuser} > /dev/null || useradd -r -g %{vncgroup} -d /var/lib/empty -s /sbin/nologin -c "user for VNC" %{vncuser} || : +# add vnc user to shadow group. (bsc#980326) +# more details about the reasoning in bsc#1162951 usermod -G shadow -a %{vncuser} || : %post -n xorg-x11-Xvnc