From owner-freebsd-questions@FreeBSD.ORG Wed Aug 20 12:10:41 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 E336F16A4BF for ; Wed, 20 Aug 2003 12:10:41 -0700 (PDT) Received: from dreadnought.cnchost.com (dreadnought.cnchost.com [207.155.248.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60D8743FE5 for ; Wed, 20 Aug 2003 12:10:41 -0700 (PDT) (envelope-from mwoodson@sricrm.com) Received: from squelcher.redlands.sricrm.com (bdsl.66.14.215.39.gte.net [66.14.215.39]) by dreadnought.cnchost.com id PAA28200; Wed, 20 Aug 2003 15:10:18 -0400 (EDT) [ConcentricHost SMTP Relay 1.15] Errors-To: From: Mark Woodson Organization: Statistical Research, Inc. To: Joshua Oreman , Jimmy Kimanzi Date: Wed, 20 Aug 2003 12:10:28 -0700 User-Agent: KMail/1.5.3 References: <002c01c3671e$a790a460$73c0f050@jish> <20030820181754.GB23284@webserver> In-Reply-To: <20030820181754.GB23284@webserver> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200308201210.30847.mwoodson@sricrm.com> cc: questions@freebsd.org Subject: Re: Kuser/root account problem 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: Wed, 20 Aug 2003 19:10:42 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 20 August 2003 11:17 am, Joshua Oreman wrote: > On Wed, Aug 20, 2003 at 04:26:24PM +0300 or thereabouts, Jimmy=20 Kimanzi wrote: > > Hi > > > > I used the kuser utility in KDE to add a user to the wheel group > > and it seems to have deleted the root account and I can't login > > as root now . Anyone know how I can fix this ? > > I'm running FreeBSD 5.1 - RELEASE and KDE 3.1.2. > > Try ++, then login as root. I think kuser probably > forgot to run pwd_mkdb -- lucky for you :-) > > If that doesn't work, follow the instructions for a "forgotten root > password" ('tis in the FAQ). When you're in single user mode, try > `grep root /etc/master.passwd'. If something comes back, type > `passwd root' to reset root's password. If nothing comes back, > you'll have to add a line for root manually in /etc/master.passwd. > Then run pwd_mkdb /etc/master.passwd. Whatever you do, type `exit' > or +D now. I had a friend that had something similar happen to him after=20 installing kuser, it hadn't actually deleted the root account, but it=20 did expire it (which disallowed root logins). Took him quite a while=20 to figure out. =2D -Mark =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/Q8ekF/yyV91po54RAgHOAKDcqdD9MmnByW5joLR2vsAuzZTu7QCgitYP SNmRlbiZL3N7BtM2EyKNiLM=3D =3DSMK4 =2D----END PGP SIGNATURE-----