From owner-freebsd-questions@FreeBSD.ORG Wed Aug 20 11:17:56 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 BB3CD16A4C0 for ; Wed, 20 Aug 2003 11:17:56 -0700 (PDT) Received: from webserver.get-linux.org (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id E8EB243FE3 for ; Wed, 20 Aug 2003 11:17:55 -0700 (PDT) (envelope-from oremanj@webserver.get-linux.org) Received: (qmail 31602 invoked by uid 1000); 20 Aug 2003 18:17:54 -0000 Date: Wed, 20 Aug 2003 11:17:54 -0700 From: Joshua Oreman To: Jimmy Kimanzi Message-ID: <20030820181754.GB23284@webserver> References: <002c01c3671e$a790a460$73c0f050@jish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002c01c3671e$a790a460$73c0f050@jish> User-Agent: Mutt/1.4.1i 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 18:17:57 -0000 On Wed, Aug 20, 2003 at 04:26:24PM +0300 or thereabouts, Jimmy 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. -- Josh > > Jimmy. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"