Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293010 (xdm-root-login) - Xdm enable root login, when this is forbidden in Xresources
Summary: Xdm enable root login, when this is forbidden in Xresources
Status: RESOLVED UPSTREAM
Alias: xdm-root-login
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-13 10:18 UTC by ZoliM
Modified: 2009-12-08 13:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ZoliM 2009-11-13 10:18:07 UTC
/etc/X11/xdm/Xresources file contains the line:

xlogin.Login.allowRootLogin: false

but the xlogin widget let the root log in.
Comment 1 ZoliM 2009-11-13 10:22:13 UTC
emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201
-r2, 2.6.30-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-AMD_Athlon-tm-_MP_2000+-with-gentoo-1.
12.13
Timestamp of tree: Thu, 12 Nov 2009 12:55:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-mp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/
fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /et
c/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/
web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-mp -pipe"
DISTDIR="/home/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-
owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="hu en en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli
 consolekit cracklib crypt cups dbus dri dts dvd dvdr dvdread encode fam firefox
 flac fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 jpeg kerberos ldap libno
tify mad mmx modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl o
penmp oss pam pcre pdf perl png ppds pppd python quicktime readline reflection s
dl session spell spl sse ssl startup-notification svg sysfs tcpd thunar tiff tru
etype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" A
LSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop e
mpty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw
 multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyb
oard mouse evdev" KERNEL="linux" LINGUAS="hu en en_GB" USERLAND="GNU" VIDEO_CARD
S="nv vesa vga v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_A
LL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
, PORTDIR_OVERLAY
-----------------------------------------------
cat /etc/X11/xdm/Xresources 
! $Xorg: Xresources,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
!
!
!
!
! $XFree86: xc/programs/xdm/config/Xres.cpp,v 1.6 2003/01/04 03:11:31 dawes Exp $
!

Xcursor.theme: whiteglass

xlogin.Login.allowRootLogin: false

xlogin*login.translations: #override \
        Ctrl<Key>R: abort-display()\n\
        <Key>F1: set-session-argument(failsafe) finish-field()\n\
        <Key>Delete: delete-character()\n\
        <Key>Left: move-backward-character()\n\
        <Key>Right: move-forward-character()\n\
        <Key>Home: move-to-begining()\n\
        <Key>End: move-to-end()\n\
        Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
        <Key>KP_Enter: set-session-argument() finish-field()\n\
        Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
        <Key>Return: set-session-argument() finish-field()

xlogin*greeting: Welcome to CLIENTHOST
xlogin*namePrompt: \040\040\040\040\040\040\040Login:
xlogin*fail: Login incorrect

#if WIDTH > 800
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*greetFace:       Serif-24:bold:italic
xlogin*face:            Helvetica-18
xlogin*promptFace:      Helvetica-18:bold
xlogin*failFace:        Helvetica-18:bold
#else
xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
xlogin*greetFace:       Serif-18:bold:italic
xlogin*face:            Helvetica-12
xlogin*promptFace:      Helvetica-12:bold
xlogin*failFace:        Helvetica-14:bold
#endif

#ifdef COLOR
xlogin*borderWidth: 1
xlogin*frameWidth: 5
xlogin*innerFramesWidth: 2
xlogin*shdColor: grey30
xlogin*hiColor: grey90
xlogin*background: grey
!xlogin*foreground: darkgreen
xlogin*greetColor: red3
xlogin*failColor: red
*Foreground: black
*Background: #fffff0
#else
xlogin*borderWidth: 3
xlogin*frameWidth: 0
xlogin*innerFramesWidth: 1
xlogin*shdColor: black
xlogin*hiColor: black
#endif

#if PLANES >= 8
xlogin*logoFileName: /usr/lib/X11/xdm/pixmaps/xorg.xpm
#else
xlogin*logoFileName: /usr/lib/X11/xdm/pixmaps/xorg-bw.xpm
#endif
xlogin*useShape: true
xlogin*logoPadding: 10


XConsole.text.geometry: 480x130
XConsole.verbose:       true
XConsole*iconic:        true
XConsole*font:          fixed

Chooser*geometry:               700x500+300+200
Chooser*allowShellResize:       false
Chooser*viewport.forceBars:     true
Chooser*label.font:             *-new century schoolbook-bold-i-normal-*-240-*
Chooser*label.label:            XDMCP Host Menu from CLIENTHOST
Chooser*list.font:              -*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1
Chooser*Command.font:           *-new century schoolbook-bold-r-normal-*-180-*


Xmessage*geometry:              150x30+0+0
Xmessage*message.scrollVertical:        Never
Xmessage*message.scrollHorizontal:      Never
Xmessage*Text*background:       yellow
Xmessage*Text*foreground:       darkgrey
Xmessage*Text.borderColor:      white
Xmessage*Text.borderWidth:      0
Xmessage*background:            yellow
Xmessage*foreground:            grey30
Xmessage*borderWidth:           0
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-11-13 18:32:59 UTC
We provide xdm as a convenience to our users but we don't really support it (other that "it builds"). So please file a bug upstream and paste the URL here so we can track the issue.

Thanks
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-11-13 18:33:55 UTC
Upstream : https://bugs.freedesktop.org/

Thanks
Comment 4 ZoliM 2009-12-08 13:17:58 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=25112

 ------- Comment  #2 From Julien Cristau  2009-11-16 08:38:23 PST  -------  

aiui when using PAM this configuration is not used.
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-12-08 13:22:00 UTC
Definitely not a Gentoo-specific bug. Let's track the bug upstream directly.

Thanks