From owner-freebsd-questions Mon Jul 14 16:02:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA20173 for questions-outgoing; Mon, 14 Jul 1997 16:02:58 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (rvc1.informatik.ba-stuttgart.de [141.31.112.22]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA20166 for ; Mon, 14 Jul 1997 16:02:50 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.6/8.8.5) id AAA06553; Tue, 15 Jul 1997 00:59:53 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199707142259.AAA06553@helbig.informatik.ba-stuttgart.de> Subject: Re: no adduser cmd (2.1) In-Reply-To: <33ca9ac1.517307609@mail> from TS Tsang at "Jul 14, 97 09:34:27 pm" To: cn649@torfree.net (TS Tsang) Date: Tue, 15 Jul 1997 00:59:50 +0200 (MET DST) Cc: cn649@torfree.net, freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I can now find the adduser command, but when I execute it, it will > report the following error messages. Both happen for interactive mode > as well as batch mode. Anyway I can use it correctly? How did you `execute' it? It looks like you entered something like sh adduser on the command line. This won't work, since adduser is *not* a shell script but a perl script. At least this is what ``file /usr/sbin/adduser'' says. So just enter adduser on the command line and the perl interpreter will be called automatically by the kernel. Make sure you *have* perl installed on your system. The interpreter lives in /usr/bin/perl. To find out enter `which perl'. If this does not help, feel free to ask again. Wolfgang