Date: Thu, 06 Aug 1998 12:12:16 +0200
From: Antonio Nati <A.Nati@cisco.it>
To: freebsd-questions@FreeBSD.ORG
Subject: system ("makemap") error...
Message-ID: <35C98180.41C67EA6@cisco.it>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35C98180.41C67EA6>
