Re: editing /etc/sudoers

2019-06-17 Thread John Soo
Thanks Jeff, Sounds good. Do you think this thread is effectively solved, then? You might consider opening a bug report for visudo. - John > On Jun 17, 2019, at 11:02 AM, Jeff Bauer wrote: > >> On Mon, Jun 17, 2019 at 10:03:20AM -0700, John Soo wrote: >> Sorry this is so confusing. Let me

Re: editing /etc/sudoers

2019-06-17 Thread Jeff Bauer
On Mon, Jun 17, 2019 at 10:03:20AM -0700, John Soo wrote: >Sorry this is so confusing. Let me know if I’m missed something since >I’ve 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 u

Re: editing /etc/sudoers

2019-06-17 Thread John Soo
Hi Jeff, Sorry this is so confusing. Let me know if I’m missed something since I’ve 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 a

Re: editing /etc/sudoers

2019-06-17 Thread Jeff Bauer
On Mon, Jun 17, 2019 at 07:34:46AM -0700, Quiliro's lists wrote: > El 2019-06-17 02:17, Andreas Enge escribió: > > maybe my reply is off-topic and does not solve your problem, but to just > > give sudoer capabilities to a user, it is enough to add them to the "wheel" > > group in the system declara

Re: editing /etc/sudoers

2019-06-17 Thread Jeff Bauer
On Mon, Jun 17, 2019 at 09:53:46AM +0200, Hartmut Goebel wrote: > Try > > VISUAL=/path/tp/my/editor visudo > > See the man-page for details Nope, same error: $ VISUAL=~/.guix-profile/bin/vim visudo -f ~/etc/guix/config.scm visudo: no editor found (editor path = /usr/bin/vi) It appears /usr/bin/v

Re: editing /etc/sudoers

2019-06-17 Thread Quiliro's lists
El 2019-06-17 02:17, Andreas Enge escribió: > Hello, > > On Sun, Jun 16, 2019 at 06:20:54PM -0500, Jeff Bauer wrote: >> Okay, to make it more clear: I was having a problem >> trying to use visudo on a native Guix System. The >> visudo packaged with the Guix System cannot actually >> edit a sudoer

Re: editing /etc/sudoers

2019-06-17 Thread Hartmut Goebel
Am 17.06.19 um 01:20 schrieb Jeff Bauer: > Okay, to make it more clear: I was having a problem > trying to use visudo on a native Guix System. The > visudo packaged with the Guix System cannot actually > edit a sudoers file because it relies on /usr/bin/vi, Try VISUAL=/path/tp/my/editor visudo

Re: editing /etc/sudoers

2019-06-17 Thread Andreas Enge
Hello, On Sun, Jun 16, 2019 at 06:20:54PM -0500, Jeff Bauer wrote: > Okay, to make it more clear: I was having a problem > trying to use visudo on a native Guix System. The > visudo packaged with the Guix System cannot actually > edit a sudoers file because it relies on /usr/bin/vi, > but it can

Re: editing /etc/sudoers

2019-06-16 Thread Jeff Bauer
On Sun, Jun 16, 2019 at 04:08:06PM -0700, Quiliro's lists wrote: > El 2019-06-16 09:30, Jeff Bauer escribió: > > On Sat, Jun 15, 2019 at 07:27:57PM -0700, Quiliro's lists wrote: > >> Regarding the EDITOR variable, if Guix is the installer of the needed > >> editor it is the only situation when this

Re: editing /etc/sudoers

2019-06-16 Thread Quiliro's lists
El 2019-06-16 09:30, Jeff Bauer escribió: > On Sat, Jun 15, 2019 at 07:27:57PM -0700, Quiliro's lists wrote: >> Regarding the EDITOR variable, if Guix is the installer of the needed >> editor it is the only situation when this regards to Guix. >> >> Would you please clarify your issue? > > Issue c

Re: editing /etc/sudoers

2019-06-16 Thread Jeff Bauer
On Sat, Jun 15, 2019 at 07:27:57PM -0700, Quiliro's lists wrote: > Regarding the EDITOR variable, if Guix is the installer of the needed > editor it is the only situation when this regards to Guix. > > Would you please clarify your issue? Issue clarified up-thread: https://lists.gnu.org/archive/h

Re: editing /etc/sudoers

2019-06-16 Thread Jeff Bauer
On Sat, Jun 15, 2019 at 07:27:57PM -0700, Quiliro's lists wrote: > Regarding the EDITOR variable, if Guix is the installer of the needed > editor it is the only situation when this regards to Guix. > > Would you please clarify your issue? Issue clarified up-thread: https://lists.gnu.org/archive/h

Re: editing /etc/sudoers

2019-06-15 Thread Quiliro's lists
El 2019-06-14 06:55, Jeff Bauer escribió: > I've been trying unsuccessfully to make changes to > /etc/sudoers. I used visudo by creating a symlink > to /usr/bin/vi (because visudo ignores EDITOR), but > the changes aren't permanent. What am I missing? You cannot have a /usr/bin unless you are on

Re: editing /etc/sudoers

2019-06-14 Thread Jeff Bauer
On Fri, Jun 14, 2019 at 03:21:33PM +0200, Tobias Geerinckx-Rice wrote: > (operating-system >… >(sudoers-file > (local-file "sudoers")) ; relative to this file >…) Thanks. And as a note to myself to RTFM: https://www.gnu.org/software/guix/manual/en/html_node/Using-the-Configurat

Re: editing /etc/sudoers

2019-06-14 Thread David Larsson
Hi Jeff, This is probably not the guix way, but Im usually using SUDO_EDITOR=zile visudo instead of just EDITOR. B.R. David Jeff Bauer – Fri, 14. June 2019 14:36 > I've been trying unsuccessfully to make changes to > /etc/sudoers. I used visudo by creating a symlink > to /usr/bin/vi (because v

Re: editing /etc/sudoers

2019-06-14 Thread Tobias Geerinckx-Rice
Jeff Bauer wrote: What am I missing? Moar Scheme: (operating-system … (sudoers-file (local-file "sudoers")) ; relative to this file …) Kind regards, T G-R signature.asc Description: PGP signature