Re: sudo does not respond to settings in /etc/sudoers

2015-11-16 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2015-11-16 19:02, Andreas Henriksson wrote: > For what it's worth, if you want to avoid logging out/in you can > temporarily join the group in your shell by using "newgrp sudo". Thank you for that tip; it is useful to know. Ken -BEGIN PGP

Re: sudo does not respond to settings in /etc/sudoers

2015-11-16 Thread Teemu Likonen
Ken Heard [2015-11-16 13:50:09+07] wrote: > On 2015-11-15 23:26, Teemu Likonen wrote: >> Maybe you added the user to the "undo" group > > Surely you mean the "sudo" group? Yes, of course. :-) signature.asc Description: PGP signature

Re: sudo does not respond to settings in /etc/sudoers

2015-11-16 Thread Andreas Henriksson
Hello! On Mon, Nov 16, 2015 at 01:50:09PM +0700, Ken Heard wrote: [...] > My eureka moment! I forgot to logout and in again as my user before > testing the various options. [...] For what it's worth, if you want to avoid logging out/in you can temporarily join the group in your shell by using "ne

Re: sudo does not respond to settings in /etc/sudoers

2015-11-15 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2015-11-15 23:26, Teemu Likonen wrote: > Maybe you added the user to the "undo" group Surely you mean the "sudo" group? > but forgot to test it with a new login session. Group changes > don't affect the current login session (unless newgrp is use

Re: sudo does not respond to settings in /etc/sudoers

2015-11-15 Thread Johan DS
Did you check the permissions? -r--r- 1 root root 1011 Oct 4 21:58 /etc/sudoers On Sun, Nov 15, 2015 at 5:27 PM, Ric Moore wrote: > On 11/15/2015 11:18 AM, Joe wrote: > >> On Sun, 15 Nov 2015 10:44:10 -0500 >> Ric Moore wrote: >> >> On 11/14/2015 03:01 PM, Joe wrote: >>> Your example

Re: sudo does not respond to settings in /etc/sudoers

2015-11-15 Thread Ric Moore
On 11/15/2015 11:18 AM, Joe wrote: On Sun, 15 Nov 2015 10:44:10 -0500 Ric Moore wrote: On 11/14/2015 03:01 PM, Joe wrote: Your example will still ask for a password, and anyway it's either/or: you can either add yourself to the sudo group or add your name to sudoers, you don't need both. I

Re: sudo does not respond to settings in /etc/sudoers

2015-11-15 Thread Teemu Likonen
Ric Moore [2015-11-15 10:44:10-05] wrote: > On 11/14/2015 03:01 PM, Joe wrote: >> it's either/or: you can either add yourself to the sudo group or add >> your name to sudoers, you don't need both. > > I had to, before it would work. YMMV, Ric Maybe you added the user to the "undo" group but forgo

Re: sudo does not respond to settings in /etc/sudoers

2015-11-15 Thread Joe
On Sun, 15 Nov 2015 10:44:10 -0500 Ric Moore wrote: > On 11/14/2015 03:01 PM, Joe wrote: > Your example will > > still ask for a password, and anyway it's either/or: you can either > > add yourself to the sudo group or add your name to sudoers, you > > don't need both. > > I had to, before it

Re: sudo does not respond to settings in /etc/sudoers

2015-11-15 Thread Ric Moore
On 11/14/2015 03:01 PM, Joe wrote: Your example will still ask for a password, and anyway it's either/or: you can either add yourself to the sudo group or add your name to sudoers, you don't need both. I had to, before it would work. YMMV, Ric -- My father, Victor Moore (Vic) used to say: "Th

Re: sudo does not respond to settings in /etc/sudoers

2015-11-14 Thread Teemu Likonen
Ken Heard [2015-11-14 15:11:05+07] wrote: > In my Wheezy box I want to be able to run any root command as my user > without having to enter a password to do so. > # ken ALL=NOPASSWD: ALL How about this: ken ALL = (root) NOPASSWD: ALL Works here but this is Debian 8 (Jessie), not Wheezy.

Re: sudo does not respond to settings in /etc/sudoers

2015-11-14 Thread Joe
On Sat, 14 Nov 2015 13:20:19 -0500 Ric Moore wrote: > On 11/14/2015 09:36 AM, Mario Castelán Castro wrote: > > El 14/11/15 a las 02:11, Ken Heard escribió: > >> -BEGIN PGP SIGNED MESSAGE- > >> Hash: SHA1 > >> > >> In my Wheezy box I want to be able to run any root command as my > >> use

Re: sudo does not respond to settings in /etc/sudoers

2015-11-14 Thread Ric Moore
On 11/14/2015 09:36 AM, Mario Castelán Castro wrote: El 14/11/15 a las 02:11, Ken Heard escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In my Wheezy box I want to be able to run any root command as my user without having to enter a password to do so. I assume that there are two ways to

Re: sudo does not respond to settings in /etc/sudoers

2015-11-14 Thread Mario Castelán Castro
El 14/11/15 a las 02:11, Ken Heard escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In my Wheezy box I want to be able to run any root command as my user without having to enter a password to do so. I assume that there are two ways to do so: either make my user a member of the sudo group

sudo does not respond to settings in /etc/sudoers

2015-11-14 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In my Wheezy box I want to be able to run any root command as my user without having to enter a password to do so. I assume that there are two ways to do so: either make my user a member of the sudo group, or add a line to sudoers giving such privileg