From owner-freebsd-questions@FreeBSD.ORG Tue May 29 00:36:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB2111065670 for ; Tue, 29 May 2012 00:36:56 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 62DB18FC1C for ; Tue, 29 May 2012 00:36:56 +0000 (UTC) Received: by ggnm2 with SMTP id m2so2622611ggn.13 for ; Mon, 28 May 2012 17:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=EgWr2zcmtbS8cfQxdIIJ5E8GJzsWEm0WdIIAi2qpLIQ=; b=czG/LYp3dee0nXJ9041RDPlCM7ncHV3WDdCNqLbVDKGlzslNvBSAJj4Y4txxUgpCGg FhjhSVEiUMFPUbjaC429ZgqgpzttZpwG88c6ah1bu6cqdzVa/3UpopgcmOOGlPuLeqxD 4mjV2Dv+CQvHY46crMDxPBkArS1L+6HTPwoiUH7K3vbmVfxOwA5hkic6TyazO6jWn3gC z3dp017z+r1uR+SU7WJZySc5HYj5I65C4Negw/VYvh2Eer6Gcgt5Ju+6JPIRqiK31UqF saY0lYWYPZkwgIeREIMkrqldECQAdGWnCMMxkvoGd1ILPUaqcBltSZCNrFZg85wVO2Yr LEvQ== MIME-Version: 1.0 Received: by 10.50.100.129 with SMTP id ey1mr5198172igb.35.1338251815666; Mon, 28 May 2012 17:36:55 -0700 (PDT) Received: by 10.50.112.4 with HTTP; Mon, 28 May 2012 17:36:55 -0700 (PDT) In-Reply-To: <20120528185704.402a5c97.freebsd@edvax.de> References: <20120528174646.dc37d926.freebsd@edvax.de> <20120528185704.402a5c97.freebsd@edvax.de> Date: Mon, 28 May 2012 19:36:55 -0500 Message-ID: From: Antonio Olivares To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: pwd_mkdb: /etc/master.passwd: Inappropriate file type or format 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: Tue, 29 May 2012 00:36:56 -0000 > > Looks wrong; the parameter -d is "-d directory", explained > as "Store databases into specified destination directory > instead of /etc." > > The coorect command should be > > =A0 =A0 =A0 =A0# pwd_mkdb /etc/master.passwd > > See "man pwd_mkdb" for details. > >> but it fails with a pam_auth() or I can't remember exact error >> message, I will need to run command and post the exact error message >> here :( > > Some file access error would be possible. > >> Either do this, or install a desktop which does not depend on >> devel/dbus package(s). > > The dbus port is often used to "enhance functionality", but > it's not entirely required to run KDE, Gnome or Xfce (to name > the "big three"). Just make sure X is compiled without it. > Maybe some functionality might be missing, but if you don't > depend on it... as for just automount, FreeBSD has a native > solution that worked even before HAL and DBUS. > > -- Polytropon & all, I have run # vipw /etc/master.passwd and removed the offending line #25. Then I ran the command # pwd_mkdb -d /etc/master.passwd and it succeeded! :) Then I readded the user with adduser command and all is well. I got back my xfce desktop and it is working. Thanks to special folks like you and others who are very helpful. I was getting desperate and was about to throw the towel and reinstall FreeBSD on this machine. I had old backups from last year, but all the new changes would have been a waste to get back from those. Best Regards, Antonio