From owner-freebsd-doc Mon Aug 11 19:05:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA16776 for doc-outgoing; Mon, 11 Aug 1997 19:05:07 -0700 (PDT) Received: from bsd.fs.bauing.th-darmstadt.de (bsd.fs.bauing.th-darmstadt.de [130.83.63.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA16758 for ; Mon, 11 Aug 1997 19:05:00 -0700 (PDT) Received: from panke.panke.de (anonymous213.ppp.cs.tu-berlin.de [130.149.17.213]) by bsd.fs.bauing.th-darmstadt.de (8.8.6/8.8.5) with ESMTP id DAA15700; Tue, 12 Aug 1997 03:22:54 +0200 (MET DST) Received: (from wosch@localhost) by panke.panke.de (8.8.5/8.6.12) id DAA00573; Tue, 12 Aug 1997 03:02:12 +0200 (MET DST) To: "A Ling" Cc: "freebsd-doc@FreeBSD.ORG" Subject: Re: ee (default) word-wrap can cause vipw/chsh indigestion References: <199708111449.KAA07240@pop.cc.nih.gov> From: Wolfram Schneider Date: 12 Aug 1997 03:02:09 +0200 In-Reply-To: "A Ling"'s message of Mon, 11 Aug 97 10:49:49 -0400 Message-ID: Lines: 20 Sender: owner-freebsd-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk "A Ling" writes: > As a newbie to FreeBSD 2.2.2-R, I had set my default editor to > ee (in an effort to avoid vi). When I used vipw or chsh to > change the default shell (specified at the end of a line in the > /etc/passwd file), ee word-wrapped (evidently obeying the right > margin option is on by default), and inserted a newline in the > process. Unfortunately, this resulted in pwd_mkdb errors, and > no change to the default shell: > > "/etc/pw.000237" 14 lines, 303 characters > chsh: rebuilding the database... > pwd_mkdb: corrupted entry > pwd_mkdb: at line #13 > pwd_mkdb: /etc/pw.000237: Inappropriate file type or format > chsh: /etc/master.passwd: unchanged In FreeBSD-3.0-current pwd_mkdb(8) accept empty lines. -- Wolfram Schneider http://www.apfel.de/~wosch/