From owner-freebsd-current Wed Nov 27 19: 8:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4369537B401 for ; Wed, 27 Nov 2002 19:08:17 -0800 (PST) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id D430C43EAF for ; Wed, 27 Nov 2002 19:08:16 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0289.cvx22-bradley.dialup.earthlink.net ([209.179.199.34] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18HF2C-0002iO-00; Wed, 27 Nov 2002 19:08:13 -0800 Message-ID: <3DE58847.5F962036@mindspring.com> Date: Wed, 27 Nov 2002 19:06:47 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: NAKAJI Hiroyuki Cc: "David W. Chapman Jr." , current@FreeBSD.ORG Subject: Re: pw_user.c change for samba References: <86isyimurd.fsf@xa12.heimat.gr.jp> <005501c29670$d5fd8360$fe01a8c0@dwcjr> <86fztmmu5u.fsf@xa12.heimat.gr.jp> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG NAKAJI Hiroyuki wrote: > >>>>> "David W. Chapman Jr." wrote: > > David> Wouldn't pw still have to be updated. I haven't looked at adduser but I > David> thought it was a wrapper for pw? > > No. > > My /usr/sbin/adduser, updated on Nov/23/2002 21:58 JST, does not call > pw command. It adds account to /etc/master.passwd and invokes > 'pwd_mkdb'. > > See 'sub new_users' function in /usr/sbin/adduser. There are two "adduser" scripts. One is perl, and one was written to use "pw" and provide the same semantics, in a shell script, as part of the "perl purge" that happened recently. One of them pukes on the trailing $, and the other doesn't. It's confusing, unless you caught that we were talking about most recent -current. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message