From owner-freebsd-virtualization@FreeBSD.ORG Thu Jan 30 10:21:34 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13265557 for ; Thu, 30 Jan 2014 10:21:34 +0000 (UTC) Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DA8401B67 for ; Thu, 30 Jan 2014 10:21:33 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id y10so2839113pdj.12 for ; Thu, 30 Jan 2014 02:21:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jD55QuoXGSS3DJBsqKIHeldCSElgnO59WlX3uK2Fj+A=; b=v0xkyOX9I22lAdpJTJLoFgUvlOyjbU9KQM9KW3gFsG9ogL+D9jBXtY204Gs9xMTt3T XAfiaga/e/IXwq3cTy7PIZVjb7pUIuBpkt4N1MCahbLllghoccGE0gaiUqybLiEtTFoN M/m+JJl8YBao2rOVz5xpuIRXfT6JTKxjHdOhSuKbyvHz5g7ue1y+T09fzmpVz41/+zqS PJQVjuesfI0DxHxfbX+3+vuZxA852XjR3j8qEg0ja8oLdaJ3vYD2e/GRRj+IKDzORocP Mxsq7Z54bc55wndViTvSJJAUYqXCQIcvTkwikkD90ao+K4LXvOnlJfdVpTbndjT92QJa K9rQ== MIME-Version: 1.0 X-Received: by 10.66.141.231 with SMTP id rr7mr13082421pab.41.1391077293497; Thu, 30 Jan 2014 02:21:33 -0800 (PST) Received: by 10.68.155.38 with HTTP; Thu, 30 Jan 2014 02:21:33 -0800 (PST) In-Reply-To: <0ae90c9099c35152f576cc7bbd94dc80@mail.0x20.net> References: <52E9713F.9040508@callfortesting.org> <52E9757F.4050506@wasikowski.net> <0ae90c9099c35152f576cc7bbd94dc80@mail.0x20.net> Date: Thu, 30 Jan 2014 05:21:33 -0500 Message-ID: Subject: Re: best way to add www to wheel From: Aryeh Friedman To: Lars Engels Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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:21:34 -0000 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 On Thu, Jan 30, 2014 at 5:00 AM, Lars Engels wrote: > Am 2014-01-29 23:05, schrieb Aryeh Friedman: > > Only issue with that is when I asked a few months ago how to -ports@ how >> to >> make the port edit sudoers the idea was universally shot down (then it was >> to add it to do it for the default %WHEEL NOPASSWD entry and it was before >> petitecloud was password protected [it is this criticism that lead to the >> password protection in the first place) >> >> >> > You can add a new file in /usr/local/etc/sudoers.d/ > No need to edit sudoers itself. > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization- > unsubscribe@freebsd.org" > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org