summaryrefslogtreecommitdiff
path: root/config
AgeCommit message (Collapse)AuthorFilesLines
2019-02-25Use sed instead of the C pre-processor to generate config filesAlan Coopersmith7-38/+46
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=93359 while avoiding https://bugs.freedesktop.org/show_bug.cgi?id=107368 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-10-03chown before chmodMatthieu Herrb1-1/+1
This prevents a malicious user logging out from calling chmod while still owning /dev/console and thus by-passing the '622' mode that is set here. Issue reported by Tim Chase. Thanks. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-12-21Remove AIXV3, SCO, Unixware, OS/2 supportMatthieu Herrb1-18/+0
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-03-15Allow the greeter to set the input fields bg colorMatthieu Herrb1-0/+1
A new 'inpColor' resource is added for that. Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-11-04Only pass -u & -w args to sessreg if --with-{u,w}tmp-file=path specifiedAlan Coopersmith3-3/+15
If not specified, let sessreg use its builtin defaults instead of replicating the logic here (and possibly getting it wrong), especially since in sessreg-1.0.8 and earlier, using the -u & -w flags forces the use of the utmp/wtmp code and not the newer utmpx/wtmpx code. If --without-{u,w}tmp-file or --with-{u,w}tmp-file=none is specified, pass "none" as arguments to sessreg to disable writing to that file. v2: better handling of --with & --without arguments when not passing path, add documentation of the 3 choices to README Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-20fix whitespace issuesAlan Coopersmith2-5/+5
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' find * -type f | xargs perl -i -p -e 's{^[ ]+\t}{\t}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-20Use explicitly /bin/sh for running of Xwilling script via su.Matěj Cepl1-1/+1
su nobody -c <command> uses a default shell of the user, which in case of nobody is (at least on Linux distros) /sbin/nologin. Signed-off-by: Matěj Cepl <mcepl@redhat.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewd-by: Mark Kettenis <kettenis@openbsd.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-24config: use AM_V_GEN instead of customized macros for AM_SILENT_RULESGaetan Nadon1-1/+1
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-12Check for allowRootLogin on PAM and non-OpenBSD passwd authentication backendsAlan Coopersmith1-1/+1
http://bugs.freedesktop.org/show_bug.cgi?id=25112 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-04-10Delete empty comment in Xresources.cppJulien Cristau1-6/+0
2010-03-16Bug #25066: exec sessregJohannes Dewender1-1/+1
Sessreg saves the pid of the calling process in utmp. If this process is terminated the session is implicitly deleted. Xstartup is called and the process id is gone right when the script is done so the session is closed right away. Using "exec" will save the pid of the master process of this login. Signed-off-by: Johannes Dewender <xorg@JonnyJD.net> Tested-by: Johannes Dewender <xorg@JonnyJD.net> Acked-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-22.gitignore: use common defaults with custom section # 24239Gaetan Nadon1-3/+4
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2009-09-11Add support for AM_SILENT_RULES for building files with cppAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-29Set utmp/wtmp paths via configure instead of hardcoding themAlan Coopersmith3-2/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Add variable DisplayManager.authDir to xdm-config (Fedora bug 388431)Matěj Cepl2-0/+2
Fedora patch xdm-1.1.6-authDir-var-bug388431.patch Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-16Remove RCS IdsAlan Coopersmith12-19/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2008-08-04Bug 16356: xdm Xstartup/Xreset configuration files malconstructed by cppDavid Sainty2-2/+2
X.Org Bug #16356 <https://bugs.freedesktop.org/show_bug.cgi?id=16356> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2007-09-21Debian bug #440389: 800x600 settings got lost, screen now too wideAlan Coopersmith1-0/+9
Debian bug #440389 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440389> When deleting the XPM #ifdefs, a set of #if WIDTH < 800 resources got accidentally deleted as well. (Cause & fix found by Brice Goglin)
2007-08-27Restore #endif accidentally removed in d0d4581be22aba9021c5a672bd9e5ba719961e29Alan Coopersmith1-0/+1
2007-06-15Make #ifdef XPM only control whether XPM pixmap logo is shownAlan Coopersmith1-27/+3
Make 3D look-and-feel independent of XPM
2007-06-15Set Xcursor theme to whiteglass in default login screen resourcesAlan Coopersmith1-0/+3
2006-12-21config: quote cpp arguments (bug #9414)Daniel Stone1-5/+6
Quote all arguments given to cpp.
2006-11-06Fill in paths at build time in Xreset & XstartupAlan Coopersmith5-15/+15
Stop hardcoding /usr/X11R6/bin/sessreg and instead fill in paths like other config files from directories passed via configure.
2006-08-14Draw text with Xft in greeter windowAlan Coopersmith1-0/+8
(Includes portions copied from Keith Packard's Xft conversion of xclock)
2006-08-14Include display number in Xserver argumentsAlan Coopersmith1-1/+1
2006-07-14Add *~ to .gitignore to skip emacs droppingsAlan Coopersmith1-0/+1
2006-07-14renamed: .cvsignore -> .gitignoreAlan Coopersmith1-0/+0
2006-03-18Bug #5898 <https://bugs.freedesktop.org/show_bug.cgi?id=5898> Use mktempAlan Coopersmith2-10/+42
command to create files safely in TMPDIR or /tmp on systems that have it - don't try to create files there if mktemp is not present. Fix based on NetBSD fix from <http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32805> .
2006-02-24Bug #5897 <https://bugs.freedesktop.org/show_bug.cgi?id=5897>Jeremy C. Reed1-2/+1
Create xsession error file with umask 077 instead of chmod a moment later so others can't open first. This was reported by Steven M. Bellovin to NetBSD http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32804 Reviewed by Alan Coopersmith via xorg_security list.
2005-12-11Bugzilla #5055 <https://bugs.freedesktop.org/show_bug.cgi?id=5055> AddMODULAR_COPYAlan Coopersmith1-7/+10
XDMSCRIPTDIR cpp substitution to allow modular tree builder/packager to decide if scripts should go in config, lib, or data directories.
2005-12-11Bugzilla #5055 <https://bugs.freedesktop.org/show_bug.cgi?id=5055> AddAlan Coopersmith1-5/+5
--with-xdmscriptdir to allow builder/packager to decide if scripts should go in config, lib, or data directories.
2005-11-21Another pass at .cvsignores for apps.Eric Anholt1-0/+6
2005-11-08Changes to match bug #3180 checkin to monolith:Alan Coopersmith1-5/+9
Generate Xsession from Xsession.cpp Add SHELL_CMD to cpp substitutions configure.ac Set SHELL_CMD to /bin/ksh for sco, /bin/sh for all other OS'es.
2005-11-08See ChangeLog entry 2005-11-07 for details.XORG-6_8_99_903XORG-6_8_99_902Kean Johnson1-0/+60
2005-10-26Use XDMCONFIGDIR for location of configuration files so they can beAlan Coopersmith1-4/+8
installed in a directory other than the lib directory. (Only overridable in modular build system at this point.)
2005-10-26Allow overriding directories for xdm scripts/modules & configuration filesAlan Coopersmith1-6/+8
via configure options --with-xdmlibdir & --with-xdmconfigdir Add libXt and libX11 to dependencies for libXdmgreet. Document default directories & configure options to change them
2005-10-17Put files in $(prefix)/lib/X11/xdm to match monolith install locationsAlan Coopersmith1-6/+8
2005-09-28Add Xservers.fs.Kristian Høgsberg1-1/+1
2005-08-27Fixes for config files built via cppAlan Coopersmith1-8/+9
2005-08-23Actually generate Xservers.ws from .cpp, and make build objdir != srcdirDaniel Stone1-6/+12
safe.
2005-08-15Install xdm config files & man page Convert many more Imakefile checks intoAlan Coopersmith1-0/+41
autoconf checks for xdm
2005-06-20Bug #2959: Make sure displays other than :0 get entries in utmp whenXORG-6_8_99_14XORG-6_8_99_13Adam Jackson3-4/+16
started from xdm. (Tim Waugh)
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich6-4/+970
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich4-4/+4
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich4-4/+4
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich4-4/+4
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich4-4/+4
2004-01-29Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004xf86-4_3_99_903_specialxf86-012804-2330Egbert Eich1-1/+2
2003-12-04XFree86 4.3.99.901 (RC 1)xf86-4_3_99_901Kaleb Keithley1-2/+12
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley2-12/+32