From owner-freebsd-questions@FreeBSD.ORG Mon Sep 27 18:44:28 2004 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 D227C16A4CE for ; Mon, 27 Sep 2004 18:44:28 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7BAF43D45 for ; Mon, 27 Sep 2004 18:44:28 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8F30651218; Mon, 27 Sep 2004 11:44:54 -0700 (PDT) Date: Mon, 27 Sep 2004 11:44:54 -0700 From: Kris Kennaway To: Sergiu Baluta Message-ID: <20040927184454.GA31494@xor.obsecurity.org> References: <007c01c4a4ab$ce7b0c70$0300a8c0@o2> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <007c01c4a4ab$ce7b0c70$0300a8c0@o2> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: KUser corrupts password file ? 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: Mon, 27 Sep 2004 18:44:28 -0000 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 27, 2004 at 12:05:24PM -0400, Sergiu Baluta wrote: > I am running Freebsd 5.2.1 . I logged in as root into KDE and used KUser= to > reset password for a user. > After that when I tryed to login as root and I would get an error: >=20 > pam_acct_mng - .... Account expired. >=20 > I booted in single user mode and tryed to change root password: >=20 > #mount -u / > #mount -a > #passwd root > ..... (entered the new password) .... >=20 > And I would get: >=20 > pwd_mkdb: 0 > max uid value (4294967295) > pwd_mkdb: at line #2 > pwd_mkdb: /etc/pw.7BUxbZ Inappropriate file type or format > passwd: pam_chauthtok(): error in service module >=20 > What does this error mean ? >=20 > Is it possible that KUser corrupted my passwd file, and if yes is there a= ny > way to restore it (at least the system users). >=20 > Is there any way and place to get and install the default password files= =20 > with system accounts > and then I can add my user's accounts manually (I have only few) ? >=20 > Is there any other solution to this problem , or any hints how to debug ? ISTR this error was fixed a long time ago..perhaps you have an old version of KDE (you didn't give any version details). Try to upgrade and retry. Kris --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBWF+mWry0BWjoQKURAvwOAKCoYkHvcYblQu7vpD//wqNWjpcziACfbflZ fged1YsZkn/b78bZoKcAX0M= =KheH -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--