Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2002 09:58:11 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        stable@freebsd.org
Cc:        don@sandvine.com
Subject:   Re: pw useradd not atomic?
Message-ID:  <200212101758.gBAHwBJf027861@vashon.polstra.com>
In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C8533701023135@mail.sandvine.com>
References:  <FE045D4D9F7AED4CBFF1B3B813C8533701023135@mail.sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <FE045D4D9F7AED4CBFF1B3B813C8533701023135@mail.sandvine.com>,
Don Bowman  <don@sandvine.com> wrote:
> 
> Is 'pw' not atomic somehow? The lines that are there seem
> complete, i'm just missing the first 100 lines or so. Its
> not always the same amount missing.

As a quick work-around, you could possibly run the "pw" command
under lockf(1).

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212101758.gBAHwBJf027861>