Date: 12 Aug 1997 03:02:09 +0200 From: Wolfram Schneider <wosch@apfel.de> To: "A Ling" <al52x@nih.gov> Cc: "freebsd-doc@FreeBSD.ORG" <freebsd-doc@FreeBSD.ORG> Subject: Re: ee (default) word-wrap can cause vipw/chsh indigestion Message-ID: <p1iiuxc9pta.fsf@panke.panke.de> In-Reply-To: "A Ling"'s message of Mon, 11 Aug 97 10:49:49 -0400 References: <199708111449.KAA07240@pop.cc.nih.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
"A Ling" <al52x@nih.gov> 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 <wosch@apfel.de> http://www.apfel.de/~wosch/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p1iiuxc9pta.fsf>