From owner-freebsd-questions@FreeBSD.ORG Thu Aug 21 03:16:40 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 A07DC16A4BF for ; Thu, 21 Aug 2003 03:16:40 -0700 (PDT) Received: from smtpout.swiftkenya.com (smtpout.swiftkenya.com [80.240.192.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6172143FCB for ; Thu, 21 Aug 2003 03:16:39 -0700 (PDT) (envelope-from jimmy@swiftkenya.com) Received: from jish (jish.swiftkenya.com [80.240.192.115]) by smtpout.swiftkenya.com (Postfix) with SMTP id EDB0230393; Thu, 21 Aug 2003 13:14:59 +0300 (EAT) Message-ID: <008801c367cd$bc4c75f0$73c0f050@jish> From: "Jimmy Kimanzi" To: "Joshua Oreman" References: <002c01c3671e$a790a460$73c0f050@jish> <20030820181754.GB23284@webserver> Date: Thu, 21 Aug 2003 13:19:41 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 cc: questions@freebsd.org Subject: Re: Kuser/root account problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jimmy Kimanzi List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2003 10:16:40 -0000 Hi It worked !! Thanks alot . Jimmy. ----- Original Message ----- From: "Joshua Oreman" To: "Jimmy Kimanzi" Cc: Sent: Wednesday, August 20, 2003 9:17 PM Subject: Re: Kuser/root account problem > 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" >