From owner-freebsd-virtualization@FreeBSD.ORG Thu Jan 30 10:40:39 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF0DFED8 for ; Thu, 30 Jan 2014 10:40:39 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 81A471E17 for ; Thu, 30 Jan 2014 10:40:39 +0000 (UTC) Received: from 0x20.net (0x20.net [217.69.76.212]) (Authenticated sender: lala) by mail.0x20.net (Postfix) with ESMTPA id 2BAA46A6008; Thu, 30 Jan 2014 11:40:37 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 30 Jan 2014 11:40:37 +0100 From: Lars Engels To: Aryeh Friedman Subject: Re: best way to add www to wheel In-Reply-To: References: <52E9713F.9040508@callfortesting.org> <52E9757F.4050506@wasikowski.net> <0ae90c9099c35152f576cc7bbd94dc80@mail.0x20.net> Message-ID: <9d330b03767e0ab8c663a9f246835dd9@mail.0x20.net> X-Sender: lars.engels@0x20.net User-Agent: Roundcube Webmail/0.7 Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 10:40:39 -0000 Am 2014-01-30 11:21, schrieb Aryeh Friedman: > So something like this in pkg-install? > > cat - << EOF > /usr/local/etc/sudoers.d/petitecloud > Cmnd_Alias PETITECLOUD = /usr/sbin/service petitecloud stop, > /usr/sbin/service petitecloud start, /usr/sbin/service petitecloud > restart > www ALL=(ALL) NOPASSWD: PETITECLOUD > EOF > > note this will be 0.2.4 which I am planning some other changes for > also like making the petitecloud account and /usr/local/etc/rc.d > optoinal and will need to ask (on the right list this time ;-)) how to > do that best > > I'd rather create the file as files/petitecloud.in and manually install it with the post-install: target.