From owner-freebsd-hackers Mon May 12 05:45:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA01379 for hackers-outgoing; Mon, 12 May 1997 05:45:21 -0700 (PDT) Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA01371 for ; Mon, 12 May 1997 05:45:13 -0700 (PDT) Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.8.5/8.8.2) id WAA21860; Mon, 12 May 1997 22:44:33 +1000 (EST) Message-ID: <19970512224433.64758@rf900.physics.usyd.edu.au> Date: Mon, 12 May 1997 22:44:33 +1000 From: David Dawes To: David Nugent Cc: hackers@freebsd.org Subject: Re: xdm in /usr/X11R6/etc/rc.d problem References: <19970428170203.28285@rf900.physics.usyd.edu.au> <199704290713.RAA29511@labs.usn.blaze.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199704290713.RAA29511@labs.usn.blaze.net.au>; from David Nugent on Tue, Apr 29, 1997 at 05:13:55PM +1000 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, Apr 29, 1997 at 05:13:55PM +1000, David Nugent wrote: >> I have no idea. I don't recall seeing any patches for this being >> submitted to us at XFree86.Org. I don't have any machines running >> -current at the moment. > >Ok. I thought I saw some comment that some "basic" support had been >added, but perhaps not. This would be fairly easy to do, so I'll >send diffs as soon as I can make some time. Basically all that's >needed is to change setlogin()/setuid()/initgroups() to a >setusercontext() call, but depending on the environment this can >get kind of hairy. setusercontext() does all sorts of things in >addition to that, including setting resource limits and system, >umask and user-defined environment settings (and soon, user-defined >resource limits, within the administrative hard limits). > > >> I'd also like to see something that allows us to remove the direct >> utmp/wtmp manipulation from xdm and xterm. > >Well, even if the wtmp/utmp format is not revised today as we've >tentatively planned in FreeBSD, there's no reason why we can't at >least provide an API. Is any of this likely to be ready in the next week or so? I'm asking because we'll be finalising the XFree86 3.3 release *very* soon, and if any of these things are ready they could be included in that release. David