From owner-freebsd-current Sat Nov 30 19:26:53 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 1CB7037B401 for ; Sat, 30 Nov 2002 19:26:52 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E07543EAF for ; Sat, 30 Nov 2002 19:26:51 -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 gB13OwwN245610; Sat, 30 Nov 2002 22:24:59 -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: Sat, 30 Nov 2002 22:24:58 -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, I took Terry's earlier patch to 'pw', and modified it so that login names can include a trailing '$' (among other things). I tried this, and immediately ran into the problem that 'pw' wants to create a group-name the same as the login-name. Perhaps it would be best for us just to leave it such that any valid login name is also a valid group name. So, I should probably redo this update again, because it can be much simpler. However, that doesn't answer the question of which 'adduser' is actually expected to be used in 5.0-current. Does someone have the shell-script (non-perl) version of adduser? Is it named something else, perhaps? Or are we going to ship 5.0-release with an 'adduser' that does require perl, even though perl is not in the base system? -- 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