Re: permissions/sudo/sudoers

2013-04-02 Thread Chris Davies
Bob Proulx wrote: > In the case of the recent sudo there is the /etc/sudoers.d/* files and > I always create a new uniquely named local file there for my > configuration and I no longer edit the /etc/sudoers file. This is > also a pain because it means I can't use the default 'visudo' to edit > t

Re: permissions/sudo/sudoers

2013-04-02 Thread Kevin Chadwick
On Tue, 2 Apr 2013 12:43:56 -0600 Bob Proulx wrote: > (Use 'visudo -f /etc/sudoers.d/local-foo' explicitly.) But > it makes upgrades easier so I do it this way. What is so difficult about that and sudoers could be for users and sudoers.d for dev changes. You could even only warn upon uncommente

Re: permissions/sudo/sudoers

2013-04-02 Thread Bob Proulx
Kevin Chadwick wrote: > Personally I think it would be great if package devs added perhaps > commented by default lines sudoers or to a file in sudoers.d This compelled me to reply. The problem with commented template files is that if you change the file then upon every package upgrade the file

Re: permissions/sudo/sudoers

2013-04-02 Thread Kevin Chadwick
On Tue, 2 Apr 2013 01:45:53 +0200 sp113438 wrote: Personally I think it would be great if package devs added perhaps commented by default lines sudoers or to a file in sudoers.d There is no need for groups and logging back in for the average system and sudoers changes take immediate effect wher

Re: permissions/sudo/sudoers

2013-04-01 Thread John Lindsay
On 01/04/13 07:18 PM, John Lindsay wrote: If I try 'sudo' in a terminal window, it asks for my password. If I try 'root's' password I get 'user not in sudoers file'. If I try my user password I get 'user not in sudoers file. this incident will be reported.' I'm trying to run 'sudo apt-get ins

Re: permissions/sudo/sudoers

2013-04-01 Thread Tom H
On Mon, Apr 1, 2013 at 7:18 PM, John Lindsay wrote: > > If I try 'sudo' in a terminal window, it asks for my password. If I try > 'root's' password I get 'user not in sudoers file'. If I try my user > password I get 'user not in sudoers file. this incident will be reported.' > > I'm trying to run

Re: permissions/sudo/sudoers

2013-04-01 Thread sp113438
On Mon, 01 Apr 2013 19:18:48 -0400 John Lindsay wrote: > If I try 'sudo' in a terminal window, it asks for my password. If I > try 'root's' password I get 'user not in sudoers file'. If I try my > user password I get 'user not in sudoers file. this incident will be > reported.' > > I'm trying to

Re: permissions/sudo/sudoers

2013-04-01 Thread Bob Proulx
John Lindsay wrote: > If I try 'sudo' in a terminal window, it asks for my password. If I > try 'root's' password I get 'user not in sudoers file'. It asks for your password. If you give it root's password then it should fail since root's password is different from your password. > If I try my u

permissions/sudo/sudoers

2013-04-01 Thread John Lindsay
If I try 'sudo' in a terminal window, it asks for my password. If I try 'root's' password I get 'user not in sudoers file'. If I try my user password I get 'user not in sudoers file. this incident will be reported.' I'm trying to run 'sudo apt-get install mono-complete monodevelop' in a termin