forked from pool/tigervnc
- 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
This commit is contained in:
parent
f03183cdac
commit
9f2afed209
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 7 11:55:20 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- 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 <sndirsch@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user