Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 10:46:21 +0100 (CET)
From:      Stefan `Sec` Zehl <sec@42.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36084: xdm XDCMP says 'This account is currently not available'
Message-ID:  <20020319094621.BB6394E3@ice.42.org>

next in thread | raw e-mail | index | archive | help

>Number:         36084
>Category:       ports
>Synopsis:       xdm XDCMP says 'This account is currently not available'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 19 01:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stefan `Sec` Zehl
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD ice 4.5-STABLE FreeBSD 4.5-STABLE #10: Tue Jan 29 13:21:53 CET 2002 root@ice:/usr/export/obj/usr/export/src/sys/ICE i386

XFree86 4.2.0 as installed from the ports

| XFree86-clients-4.2.0 XFree86-4 Client environments
| XFree86-libraries-4.2.0 XFree86-4 include/(shared) library kit
| XFree86-manuals-4.2.0 XFree86-4 man pages

>Description:

If you use xdms XDCMP responses usually contain the load and number of
users of the box.

This is done via the line:

DisplayManager.willing:  su nobody -c /usr/X11R6/lib/X11/xdm/Xwilling

in /usr/X11R6/lib/X11/xdm/xdm-config

This fails with 'This account is currently not available'.

While searching for this problem I found it is also an OpenBSD PR
(system/2145)

>How-To-Repeat:

ice:~#su nobody -c /usr/X11R6/lib/X11/xdm/Xwilling
This account is currently not available.

To see this problem in action, modify /usr/X11R6/lib/X11/xdm/Xaccess
to allow XDCMP indirect/direct requests and start X with -indirect

>Fix:

Modify this line (add -m) to:

DisplayManager.willing:  su -m nobody -c /usr/X11R6/lib/X11/xdm/Xwilling

or give user nobody a shell (less recommended)

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020319094621.BB6394E3>