Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2002 22:24:58 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Terry Lambert <tlambert2@mindspring.com>, NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
Cc:        "David W. Chapman Jr." <dwcjr@inethouston.net>, current@FreeBSD.ORG
Subject:   Re: pw_user.c change for samba
Message-ID:  <p05200f20ba0f29b79f1c@[128.113.24.47]>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05200f20ba0f29b79f1c>