Date: Thu, 30 Jan 2014 05:21:33 -0500 From: Aryeh Friedman <aryeh.friedman@gmail.com> To: Lars Engels <lars.engels@0x20.net> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: best way to add www to wheel Message-ID: <CAGBxaX=gLsFjdGG6v2K5_SN%2BGE%2BsXf1uttdd=SVPjTB3nCVKjw@mail.gmail.com> In-Reply-To: <0ae90c9099c35152f576cc7bbd94dc80@mail.0x20.net> References: <CAGBxaX=ks3kAfDT6rvzgJcDj8Bs7DPvSRcjJWMoa%2BF9U1qx7tw@mail.gmail.com> <52E9713F.9040508@callfortesting.org> <CAGBxaX=-bh22QfT5ww-Z%2BQ7rkisjiG60H%2BBu64Oh50uQ1DqNTQ@mail.gmail.com> <52E9757F.4050506@wasikowski.net> <CAGBxaXnhh4uTbEUYFwCDdsoqdBBHc%2B6w8-dC9Emfbk_D%2BwHJHw@mail.gmail.com> <0ae90c9099c35152f576cc7bbd94dc80@mail.0x20.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <lars.engels@0x20.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaX=gLsFjdGG6v2K5_SN%2BGE%2BsXf1uttdd=SVPjTB3nCVKjw>