From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: Re: editing /etc/sudoers Date: Mon, 17 Jun 2019 13:16:50 -0700 Message-ID: <6D150B0A-8904-4E3F-9A87-2735097570E1@asu.edu> References: <20190614115539.GA22815@serpent> <20190616143031.GD12459@serpent> <45f53d38f8dbf54c80bc7e2153785295@riseup.net> <20190616232054.GA1602@nimrod> <20190617071712.GA1566@jurong> <73f74c18f09a60d93371f736c1b4a996@riseup.net> <20190617154418.GG12459@serpent> <1CADB6BB-4C4E-43C8-BB5C-107D564B2C89@asu.edu> <20190617180230.GI12459@serpent> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33681) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcy3l-00028u-Uk for help-guix@gnu.org; Mon, 17 Jun 2019 16:16:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcy3k-0005si-Qq for help-guix@gnu.org; Mon, 17 Jun 2019 16:16:57 -0400 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]:38240) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcy3k-0005qz-9s for help-guix@gnu.org; Mon, 17 Jun 2019 16:16:56 -0400 Received: by mail-pl1-x62e.google.com with SMTP id f97so4606748plb.5 for ; Mon, 17 Jun 2019 13:16:56 -0700 (PDT) In-Reply-To: <20190617180230.GI12459@serpent> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Jeff Bauer Cc: help-guix@gnu.org, Quiliro's lists Thanks Jeff, Sounds good. Do you think this thread is effectively solved, then? You might= consider opening a bug report for visudo.=20 - John > On Jun 17, 2019, at 11:02 AM, Jeff Bauer wrote: >=20 >> On Mon, Jun 17, 2019 at 10:03:20AM -0700, John Soo wrote: >> Sorry this is so confusing. Let me know if I=E2=80=99m missed something= since >> I=E2=80=99ve been half-following this thread. I think what you may want= to do >> is use the sudoers-file field when specifying your operating system >> rather than using visudo to edit the file. This way you will have >> persistent and declarative specification for the sudoers file. The >> sudoers-file field allows you to place an arbitrary file-like object in= >> it, so you can put whatever you want to add using visudo there and it >> will work the same. Check the manual for >> reference: [1]https://www.gnu.org/software/guix/manual/en/html_node/ope= >> rating_002dsystem-Reference.html#operating_002dsystem-Reference >=20 > John, >=20 > Correct, I got my local sudoers working a few > days ago, so there's no longer any confusion on > my end (but thanks for your reply). >=20 > However, guix's visudo should probably be patched > to allow editing of a *local* ~/etc/sudoers file, > which currently won't work because /usr/bin/vi > appears to be hard-coded. >=20 > -Jeff