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