From owner-freebsd-ports Tue Mar 19 1:50: 9 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7974F37B405 for ; Tue, 19 Mar 2002 01:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2J9o1M83977; Tue, 19 Mar 2002 01:50:01 -0800 (PST) (envelope-from gnats) Received: from ice.42.org (ice.42.org [194.246.250.222]) by hub.freebsd.org (Postfix) with ESMTP id 53CA637B400 for ; Tue, 19 Mar 2002 01:46:23 -0800 (PST) Received: by ice.42.org (Postfix, from userid 1000) id BB6394E3; Tue, 19 Mar 2002 10:46:21 +0100 (CET) Message-Id: <20020319094621.BB6394E3@ice.42.org> Date: Tue, 19 Mar 2002 10:46:21 +0100 (CET) From: Stefan `Sec` Zehl Reply-To: Stefan `Sec` Zehl To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36084: xdm XDCMP says 'This account is currently not available' Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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