From owner-freebsd-questions Sun Apr 2 11:45:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gershwin.tera.com (gershwin.tera.com [207.224.230.28]) by hub.freebsd.org (Postfix) with ESMTP id 6D35937B5D4 for ; Sun, 2 Apr 2000 11:45:21 -0700 (PDT) (envelope-from kline@tera.com) Received: from tera.com (athena.sea.tera.com [207.224.230.169]) by gershwin.tera.com (8.9.3/8.9.3) with ESMTP id LAA20276; Sun, 2 Apr 2000 11:45:38 -0700 (PDT) Received: by tera.com (8.8.8+Sun/SMI-SVR4) id LAA16291; Sun, 2 Apr 2000 11:45:20 -0700 (PDT) Date: Sun, 2 Apr 2000 11:45:20 -0700 From: Gary Kline To: Otter Cc: Gary Kline , questions@FreeBSD.ORG Subject: Re: heads up on adduser and X Message-ID: <20000402114520.B16278@athena.sea.tera.com> References: <200004020252.SAA16148@tera.com> <38E75352.D1FB719C@otter.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95us In-Reply-To: <38E75352.D1FB719C@otter.cc>; from Otter on Sun, Apr 02, 2000 at 10:04:02AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Apr 02, 2000 at 10:04:02AM -0400, Otter wrote: > Gary Kline wrote: > > > > Awhile ago I asked this list for any insight about why I couldn't bring > > up X on some ~test accounts that I set up weeks ago. No response so > > I rolled up my sleeves and here is what I discovered. > > > > Be careful about choosing options when you use the adduser script. > > Rather than simply choose the defaults, I chose and the group > > ``wheel'' which caused permission problem with xdm or startx. When > > I modified the passwd and group files to : X was much > > happier. > > > > Hope this saves a few others some head-scratching... ! > > > > gary kline > > > I'm in the system as a member of "wheel" group and I have never had > problems with permissions of xdm or startx. I've never had those > problems with a 2.2.x or any 3.x release. I'm running 5.0 now... still > running smoothly. Do you have XF86 4 installed? I'm still on 3.3.6. I'm > curious to hear why this is a problem for you. I'm ~kline and in the wheel group (and others) and everything works well. What messed me up was in selecting `wheel' from the adduser script. I thought this would automagically add my new accounts to wheel in /etc/groups. In /etc/passwd I found that adduser had created: test:*:1009:0:test:/home/test:/bin/csh This was what xdm|startx choked on. When I created a `test' entry in /etc/groups and modified the passwd entry to: test:*:1009:1009:test:/home/test:/bin/csh things began to work. There were miscellaneous other troubles that I found and fixed, but I believe the above was the main problem. :: Not understanding the fine-print. gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message