summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_painter.c
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2016-04-07 17:34:04 +0900
committerKoichiro IWAO <meta@vmeta.jp>2016-04-07 18:34:43 +0900
commitcf2b629462cfc9bf9b0b0d0b936f926c61938805 (patch)
tree43b9fea5a9dca0fef720b276d739ca913ff21a61 /xrdp/xrdp_painter.c
parentfb08623b66c2ceda51d0867be5268268f3d59d56 (diff)
downloadxrdp-proprietary-cf2b629462cfc9bf9b0b0d0b936f926c61938805.tar.gz
xrdp-proprietary-cf2b629462cfc9bf9b0b0d0b936f926c61938805.zip
sesman: do not hardcode Xorg/X11rdp/Xvnc executables
In RHEL and its clones, /usr/bin/Xorg is set suid-root. To execute Xorg with user privileges, /etc/pam.d/xserver needs be edited [1], or suid bit of Xorg binary needs to be dropped. In order to keep Xorg and /etc/pam.d/xserver untouched, preparing non-suid version of Xorg as /usr/bin/Xorg.non-suid for example is the simplest solution. However, Xorg.non-suid cannot be executed since it is hardcoded to execute Xorg in sesman. This change makes more flexible to execute Xorg with non-standard name or not in PATH environment variable. [1] https://www.centos.org/forums/viewtopic.php?t=21185
Diffstat (limited to 'xrdp/xrdp_painter.c')
0 files changed, 0 insertions, 0 deletions