From owner-freebsd-questions Wed Jul 24 05:37:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA16787 for questions-outgoing; Wed, 24 Jul 1996 05:37:37 -0700 (PDT) Received: from natashya.eden.com (root@natashya.eden.com [199.171.21.14]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA16781 for ; Wed, 24 Jul 1996 05:37:35 -0700 (PDT) Received: from matrix.eden.com (phace@matrix.T10.nfs.eden.com [206.81.225.193]) by natashya.eden.com (8.7.4.1/8.7.1.1) with SMTP id HAA29759; Wed, 24 Jul 1996 07:37:31 -0500 (CDT) Date: Wed, 24 Jul 1996 07:37:30 -0500 (CDT) From: Tony Montana To: Don Yuniskis cc: questions@FreeBSD.org Subject: Re: Cannot add users In-Reply-To: <199607241046.DAA06658@seagull.rtd.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 24 Jul 1996, Don Yuniskis wrote: > > When attempting to execute the 'adduser' command as root on my FreeBSD > > R2.1 box i get the following: > > > > pwd_mkdb: /etc/master.passwd: Permission denied > > Invalid /etc/master.passwd - cannot add any users! > > > > The permissions are set correctly: > > -rw------- 1 root wheel 1018 Jul 24 03:33 master.passwd > > I assume you're running as root at the time? yes i am root > And, the permissions for /etc are OK? Yes they are correct (see above) > Does vipw allow you to manually change/add to the password database (or, does it blow up, too?) This is what i get: /etc/pw.000623:13 lines, 719 characters. vipw: rebulding the database... pwd_mkdb: corrupted entry pwd_mkdb: at line #13 pwd_mkdb: /etc/pw.000623: Inappropriate file type or format re-edit the password file? [y]: