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) 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) 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
On Tue, Mar 19, 2002 at 10:46:21AM +0100, Stefan `Sec` Zehl wrote: > DisplayManager.willing: su -m nobody -c /usr/X11R6/lib/X11/xdm/Xwilling Can you send a patch? I don't use XDM and don't want to get this wrong. Thanks, -- wca
On Tue, Mar 19, 2002 at 11:58:55AM -0500, Will Andrews wrote: > On Tue, Mar 19, 2002 at 10:46:21AM +0100, Stefan `Sec` Zehl wrote: > > DisplayManager.willing: su -m nobody -c /usr/X11R6/lib/X11/xdm/Xwilling > > Can you send a patch? I don't use XDM and don't want to get this > wrong. Of course. Sorry it took me so long, but at first I didn't notice the patches all have to be in the files/ subdirectory of the XFree86-4-libraries port. %) CU, Sec -- Consider the need for having to type "www.domain.name" a little IQ test that you have to take before you can access my web site.' -- Wietse
State Changed From-To: open->closed Committed, thanks.