xrdp/sesman
Koichiro IWAO cf2b629462 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
2016-04-07 18:34:43 +09:00
..
chansrv Don't attempt to intercept SIGKILL, it doesn't work on any OS 2016-03-14 16:33:49 -07:00
libscp fix a warning 2016-03-16 14:40:24 -07:00
sessvc Don't attempt to intercept SIGKILL, it doesn't work on any OS 2016-03-14 16:33:49 -07:00
tools Fix all format warnings and some unused variable warnings 2016-03-14 17:04:08 -07:00
access.c Add missing spaces in the strings that are split for line wrapping 2016-02-12 23:52:45 -08:00
access.h copyright year update 2013-06-08 10:51:53 -07:00
auth.h sesman: Fedora bug 821569 2013-10-01 10:42:00 -07:00
config.c sesman: added SessionVariables to sesman.ini and some indent cleanup 2014-05-09 16:02:19 -07:00
config.h sesman: brief xorg_params, no logic change 2016-04-07 16:27:23 +09:00
Doxyfile preparing sources to add new sesman control protocol 2006-05-26 13:10:14 +00:00
env.c Fix typos 2016-02-13 20:41:07 -08:00
env.h Fix typos 2016-02-13 20:41:07 -08:00
Makefile.am Use SCRIPTS for executable scripts, don't use "chmod 755" 2016-02-22 23:13:16 -08:00
scp_v0.c sesman: remove the thread 2015-12-11 20:41:17 -08:00
scp_v0.h copyright year update 2013-06-08 10:51:53 -07:00
scp_v1_mng.c copyright year update 2013-06-08 10:51:53 -07:00
scp_v1_mng.h copyright year update 2013-06-08 10:51:53 -07:00
scp_v1.c Add missing spaces in the strings that are split for line wrapping 2016-02-12 23:52:45 -08:00
scp_v1.h copyright year update 2013-06-08 10:51:53 -07:00
scp.c sesman: remove the thread 2015-12-11 20:41:17 -08:00
scp.h copyright year update 2013-06-08 10:51:53 -07:00
sesman.c Fix compile error "format not a string literal and no format arguments [-Werror=format-security]" 2016-03-28 14:55:20 -03:00
sesman.h sesman: remove the thread 2015-12-11 20:41:17 -08:00
sesman.ini sesman: do not hardcode Xorg/X11rdp/Xvnc executables 2016-04-07 18:34:43 +09:00
session.c sesman: do not hardcode Xorg/X11rdp/Xvnc executables 2016-04-07 18:34:43 +09:00
session.h sesman: remove the thread 2015-12-11 20:41:17 -08:00
sig.c Fix typos 2016-02-13 20:41:07 -08:00
sig.h copyright year update 2013-06-08 10:51:53 -07:00
startwm.sh startwm.sh: make sure sourced scripts are readable 2016-02-12 23:52:45 -08:00
verify_user_bsd.c sesman: verify_user_bsd.c license change and indent 2014-11-24 09:23:48 -08:00
verify_user_kerberos.c sesman: Fedora bug 821569 2013-10-01 10:42:00 -07:00
verify_user_pam_userpass.c sesman: Fedora bug 821569 2013-10-01 10:42:00 -07:00
verify_user_pam.c sesman: hand merge #176 from v0.6 branch, indent changes 2014-10-20 13:39:38 -07:00
verify_user.c sesman: fix so shadow accounts aren't incorrectly classified "inactive" 2015-02-18 17:32:12 +00:00