Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
A new 'inpColor' resource is added for that.
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
http://bugs.freedesktop.org/show_bug.cgi?id=25112
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
|
|
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>
|
|
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.
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Fedora patch xdm-1.1.6-authDir-var-bug388431.patch
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
X.Org Bug #16356 <https://bugs.freedesktop.org/show_bug.cgi?id=16356>
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
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)
|
|
|
|
Make 3D look-and-feel independent of XPM
|
|
|
|
Quote all arguments given to cpp.
|
|
Stop hardcoding /usr/X11R6/bin/sessreg and instead fill in paths like other
config files from directories passed via configure.
|
|
(Includes portions copied from Keith Packard's Xft conversion of xclock)
|
|
|
|
|
|
|
|
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> .
|
|
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.
|
|
XDMSCRIPTDIR cpp substitution to allow modular tree builder/packager to
decide if scripts should go in config, lib, or data directories.
|
|
--with-xdmscriptdir to allow builder/packager to decide if scripts
should go in config, lib, or data directories.
|
|
|
|
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.
|
|
|
|
installed in a directory other than the lib directory. (Only
overridable in modular build system at this point.)
|
|
via configure options --with-xdmlibdir & --with-xdmconfigdir Add libXt
and libX11 to dependencies for libXdmgreet.
Document default directories & configure options to change them
|
|
|
|
|
|
|
|
safe.
|
|
autoconf checks for xdm
|
|
started from xdm. (Tim Waugh)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|