From owner-freebsd-questions Thu Aug 6 03:08:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA07455 for freebsd-questions-outgoing; Thu, 6 Aug 1998 03:08:05 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cisco.it ([195.103.235.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA07398 for ; Thu, 6 Aug 1998 03:07:58 -0700 (PDT) (envelope-from A.Nati@cisco.it) Received: from tonino.cisco.priv (portone.cisco.it [195.103.235.22]) by cisco.it (8.7.5/8.7.3) with SMTP id MAA17344; Thu, 6 Aug 1998 12:09:23 +0200 (MET DST) Message-ID: <35C98180.41C67EA6@cisco.it> Date: Thu, 06 Aug 1998 12:12:16 +0200 From: Antonio Nati Organization: Cisco Consulting S.r.l. - Divisione Reti e Telematica X-Mailer: Mozilla 3.04 (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: system ("makemap") error... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to run the following command within a C program executed as CGI. The program is su'ed to root. The line system ("/usr/sbin/makemap hash /etc/virtusertable < /etc/virtusertable") returns error 18688 (no /etc/virtusertable.db created), while system ("ls /etc > /etc/trash") works fine, and typing $ /usr/sbin/makemap hash /etc/virtusertable < /etc/virtusertable works fine. I tried also with popen, with same bad results. Any hint to suggest? Tonino To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message