From owner-freebsd-questions@FreeBSD.ORG Thu Jan 19 03:31:46 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9A42816A41F for ; Thu, 19 Jan 2006 03:31:46 +0000 (GMT) (envelope-from jwillson@gargoyle.apana.org.au) Received: from gargoyle.apana.org.au (gargoyle.apana.org.au [203.3.126.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08E4843D48 for ; Thu, 19 Jan 2006 03:31:45 +0000 (GMT) (envelope-from jwillson@gargoyle.apana.org.au) Received: from bob (jwillson.apana.org.au [203.3.126.224]) by gargoyle.apana.org.au (8.12.6/8.12.6) with SMTP id k0G04Fkk073971 for ; Mon, 16 Jan 2006 10:04:15 +1000 (EST) (envelope-from jwillson@gargoyle.apana.org.au) Message-ID: <002f01c61a30$799e2ec0$0101a8c0@bob> From: "Bob @ Brisbane" To: Date: Mon, 16 Jan 2006 10:04:46 +1000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailman-Approved-At: Thu, 19 Jan 2006 03:36:51 +0000 Subject: I belong to too many groups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2006 03:31:46 -0000 It took me so long to get onto this list that in the end I just gave and reinstalled over the top of the old one. It all works now, but I would still be interested in a way around the problem if one exists. The original problem is described below I recently installed FreeBSD 6 RELEASE onto a hard drive and added two other users, bob and bill. Whilst I was doing this I decided to make root and bob members of ALL the groups in the system. I now find that I am unable to log in as either root or bob nor can I su from bob. I have tried booting to safe mode but it will still not allow me to do anything The messages that I get from the system are: login: ROOT LOGIN (root) ON ttyv0 login: initgroups(root,0) : Invalid argument login: setusercontext() failed - exiting I can still log in as bill and this will allow me to see the system files but bill doesn't have the authority to change anything. I tried to su to root but bill is not in the wheel group. If I want to run a graphical environment (and I do) then I need to start this up as root. Is there any way to get past this problem or will I need to reinstall? Bob Willson