From owner-freebsd-current Wed Nov 27 20:29:25 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 F28CF37B401 for ; Wed, 27 Nov 2002 20:29:23 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0B3D43EA9 for ; Wed, 27 Nov 2002 20:29:22 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id gAS4SkYd027656; Wed, 27 Nov 2002 23:28:46 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <3DE58847.5F962036@mindspring.com> References: <86isyimurd.fsf@xa12.heimat.gr.jp> <005501c29670$d5fd8360$fe01a8c0@dwcjr> <86fztmmu5u.fsf@xa12.heimat.gr.jp> <3DE58847.5F962036@mindspring.com> Date: Wed, 27 Nov 2002 23:28:45 -0500 To: Terry Lambert , NAKAJI Hiroyuki From: Garance A Drosihn Subject: Re: pw_user.c change for samba Cc: "David W. Chapman Jr." , current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 At 7:06 PM -0800 11/27/02, Terry Lambert wrote: >NAKAJI Hiroyuki wrote: > > 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. Well, that implies the replacement script is not as flexible as the perl script, which sounds interesting in and of itself. I was in the process of taking Terry's earlier patch and adding a few additional changes, but I was sandbagged by several hours worth of interruptions. I'm heading home now and won't be checking email tomorrow, but if no one else solves this by Friday then I'll have another look into it when I get back in. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message