From owner-freebsd-questions@FreeBSD.ORG Fri Aug 22 10:39:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E536116A4C0 for ; Fri, 22 Aug 2003 10:39:51 -0700 (PDT) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id C183D43F3F for ; Fri, 22 Aug 2003 10:39:50 -0700 (PDT) (envelope-from stanb@panix.com) Received: from panix.com (brillig.panix.com [166.84.1.76]) by mail3.panix.com (Postfix) with ESMTP id 12AE598231; Fri, 22 Aug 2003 13:39:50 -0400 (EDT) Received: from teddy.fas.com (pcp01010374pcs.mplsnt01.sc.comcast.net [68.58.176.69]) by panix.com (Postfix) with ESMTP id EC0F92AA10; Fri, 22 Aug 2003 13:39:49 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 19qFt7-0008EM-00; Fri, 22 Aug 2003 13:39:49 -0400 Date: Fri, 22 Aug 2003 13:39:49 -0400 From: stan To: Joe Marcus Clarke Message-ID: <20030822173949.GA31579@teddy.fas.com> Mail-Followup-To: Joe Marcus Clarke , Free BSD Questions list References: <20030821010134.GA16183@teddy.fas.com> <1061432099.3847.4.camel@shumai.marcuscom.com> <20030821160937.GA686@teddy.fas.com> <1061482575.719.15.camel@gyros> <20030821215827.GA7669@teddy.fas.com> <1061503233.719.93.camel@gyros> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1061503233.719.93.camel@gyros> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.21 X-Uptime: 13:36:57 up 8 days, 6:33, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown cc: Free BSD Questions list Subject: Re: Gnome2 config files weirdness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 17:39:52 -0000 On Thu, Aug 21, 2003 at 10:00:33PM +0000, Joe Marcus Clarke wrote: > On Thu, 2003-08-21 at 21:58, stan wrote: > > On Thu, Aug 21, 2003 at 12:16:15PM -0400, Joe Marcus Clarke wrote: > > > On Thu, 2003-08-21 at 12:09, stan wrote: > > > > On Wed, Aug 20, 2003 at 10:14:59PM -0400, Joe Marcus Clarke wrote: > > > > > On Wed, 2003-08-20 at 21:01, stan wrote: > > > > > > I'm trying to get Gnome 2 up and running on a TABLE machine. I've built the > > > > > > gnome2 port, and I'm getting gdm2 as a login screen. I'm able to log in as > > > > > > a normal user. But when I change something. it thinks it's changing roots > > > > > > Gnome config. And indeed all changes I make are affecting all users. > > > > > > > > > > What changes? There are a lot of configurable options in GNOME. Care > > > > > to narrow it down a bit? > > > > > > > > > > > > > additions to the panel. > > > > > > Additions to the panel (like adding a launcher) only affect the current > > > user. I've tested this. The only difference would be if you're running > > > as root. Then, you can actually edit the /usr/X11R6/share/gnome space, > > > and you could make global panel changes. You may want to verify you > > > haven't set anything setuid to root, you're not actually logged in as > > > root, and you don't have any write permissions under > > > /usr/X11R6/share/gnome. > > > > > We agree that is how things _should_ be. However it's not how things _are_ > > on this box. Actually I just started checking around, and when I log in as > > myself (non root account), I have now found that if I bring up a terminal, > > and type "who am i" the answer is _root_!. So perhapsh this is a gdm bug? > > What version of gdm do you have installed? Are you using the default > configuration? I use gdm on all my GNOME 2 machines (4 in all), and I > have never seen this problem. Did you setuid root any of your gdm > binaries? > I decided to rebuld gdm. When the rebuild was finished, I noticed a note telling me _NOT_ to run gdm from /etc/ttys, but instead to use the supplied shell script in /usr/X11R6/etc/init.d. I had missed this on the rebuild to switch from Gnome 1 to 2. So I did as instructed, which fixed the problme. Thanks for the help on this. I must say this seems like a reather huge security hole! -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin