From owner-freebsd-questions Fri Aug 7 01:20:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA25578 for freebsd-questions-outgoing; Fri, 7 Aug 1998 01:20:37 -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 BAA25554 for ; Fri, 7 Aug 1998 01:20:29 -0700 (PDT) (envelope-from A.Nati@cisco.it) Received: from cisco.cisco.it.cisco.it (portone.cisco.it [195.103.235.22]) by cisco.it (8.7.5/8.7.3) with SMTP id KAA19148; Fri, 7 Aug 1998 10:21:49 +0200 (MET DST) Message-Id: <3.0.1.32.19980807095554.006cbadc@posta.cisco.it> X-Sender: cp011@posta.cisco.it X-Mailer: Windows Eudora Pro Version 3.0.1 (32) [I] Date: Fri, 07 Aug 1998 09:55:54 +0200 To: Doug White From: Antonio Nati Subject: Re: system ("makemap") error... Cc: Freebsd-questions@FreeBSD.ORG In-Reply-To: References: <35C98180.41C67EA6@cisco.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> >> The line >> system ("/usr/sbin/makemap hash /etc/virtusertable < >> /etc/virtusertable") >> returns error 18688 (no /etc/virtusertable.db created), >> while > >That looks wierd. You're modifying the file you're piping in. Shouldn't >that be > >makemap hash /etc/virtusertable.db < /etc/virtusertable > >or something like that?? > The command is correct because makemap appends automatically .db as extension of the file-to-be-created (the extension depends on the type declared; hash is a Berkeley .db file). Tonino ------------------------------------------------------------------------ Antonio Nati Cisco Consulting S.r.l. A.Nati@cisco.it Divisione reti e telematica tel. +39 06 72990.419 Via G. Carmignani, 2 - 00173 Roma fax. +39 06 7230660 http://www.cisco.it ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message