[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-bugs
Subject:    bin/4202: pwd_mkdb trashes .db
From:       Adam David <adam () veda ! is>
Date:       1997-07-31 20:00:55
[Download RAW message or body]


>Number:         4202
>Category:       bin
>Synopsis:       pwd_mkdb trashes .db
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 31 13:10:02 PDT 1997
>Last-Modified:
>Originator:     Adam David
>Organization:
Veda Internet
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	FreeBSD

>Description:

	pwd_mkdb trashes spwd.db when the root partition is full.
	this is not acceptable behaviour, it should fail gracefully.

>How-To-Repeat:

	(almost) fill the root partition and add a user.

>Fix:
	
	a) don't do that
	b) move the old database files out of the way and move them back
	   if we fail.
>Audit-Trail:
>Unformatted:

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic