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            =   [EMAIL PROTECTED]
Senior Systems Programmer           or  [EMAIL PROTECTED]
Rensselaer Polytechnic Institute    or  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to