From owner-freebsd-questions Sun May 2 19:38:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dartagnan.maths.adelaide.edu.au (dartagnan.maths.adelaide.edu.au [129.127.44.41]) by hub.freebsd.org (Postfix) with SMTP id 9BD2A14E71 for ; Sun, 2 May 1999 19:38:14 -0700 (PDT) (envelope-from glewis@dartagnan.maths.adelaide.edu.au) Received: by dartagnan.maths.adelaide.edu.au (5.64+1.3.1+0.50/UA-5.19) id AA23974; Mon, 3 May 1999 12:08:09 +0930 From: Gregory Lewis Message-Id: <9905030238.AA23974@dartagnan.maths.adelaide.edu.au> Subject: Re: Help Please - Newbie Adding User In-Reply-To: <001701be95aa$6fdbb040$48a7fea9@DavidAnderson> from David Anderson at "May 3, 99 02:08:14 pm" To: DRCAnderson@xtra.co.nz (David Anderson) Date: Mon, 3 May 1999 12:08:09 +0930 (CST) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1889 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >/etc/pw.0kb345 16 lines, 884 chars > >vipw: rebuilding the data base........ > > >Write failed file system is full. > >/kernel: pid 350 (pwd_mkdb), vid 0 on /:file system full. > > This is what I get > myname# df -ik -t pw.0kb345 > > Filesystem 1kblocks Used Avail Cap iuse ifree %used mount > /dev/wd0s1a 19815 10511 -1281 107% 1068 3986 21% / > > I dont understand the relevance? The relevance is your / partition is full. The new password database can't be correctly written as you haven't any free space on the partition where its going. > I have spent a few hours since the last posting. My main line of > thought is that with pwd_mkdb I'm dealing with a number of > pw.xxx files that are hash referenced. > > >From Greg Leheys book > "The list of users is kept in file /etc/passwd....FreeBSD keeps the > real > information in a file called /etc/master.passwd and for performance > reasons also makes it available in database form in /etc/pwd.db and > /etc/sdwd.db" > > so when I get > >Write failed file system is full. > >/kernel: pid 350 (pwd_mkdb), vid 0 on /:file system full. > > Is it the file itself or the database files being referred to? > > Come to think of it - where do the pw.xxxxxx files fit into this > description? They are temporary files created by vipw while you are editing the password file. > As some backgroung info - I first tried to add user by going through > /stand/sysinstall menu method. The user did not appear in the file > viewed using vipw. I could very well have added the extra root entry > referred to in my last posting but do not remember doing so. > > Any help would be very much appreciated. There are a number of methods for adding users, but they'll all fail until you free up some space on / -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 3237 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message